Kidney contour basic test
Former-commit-id: 861cf5f9a8409db360e48db74274f20069b94391
This commit is contained in:
parent
f940e62e52
commit
dad170b8fe
|
@ -37,6 +37,11 @@ target_link_libraries( tbeyn3a_implus qpms gsl lapacke amos m )
|
||||||
target_include_directories( tbeyn3a_implus PRIVATE .. )
|
target_include_directories( tbeyn3a_implus PRIVATE .. )
|
||||||
target_compile_definitions( tbeyn3a_implus PRIVATE VARIANTA IMPLUS )
|
target_compile_definitions( tbeyn3a_implus PRIVATE VARIANTA IMPLUS )
|
||||||
|
|
||||||
|
add_executable( tbeyn3a_kidney tbeyn3.c )
|
||||||
|
target_link_libraries( tbeyn3a_kidney qpms gsl lapacke amos m )
|
||||||
|
target_include_directories( tbeyn3a_kidney PRIVATE .. )
|
||||||
|
target_compile_definitions( tbeyn3a_kidney PRIVATE VARIANTA IMPLUS_KIDNEY )
|
||||||
|
|
||||||
add_executable( tbeyn3b tbeyn3.c )
|
add_executable( tbeyn3b tbeyn3.c )
|
||||||
target_link_libraries( tbeyn3b qpms gsl lapacke amos m )
|
target_link_libraries( tbeyn3b qpms gsl lapacke amos m )
|
||||||
target_include_directories( tbeyn3b PRIVATE .. )
|
target_include_directories( tbeyn3b PRIVATE .. )
|
||||||
|
|
|
@ -64,6 +64,8 @@ int main(int argc, char **argv) {
|
||||||
if (argc > 2) L = atoi(argv[2]);
|
if (argc > 2) L = atoi(argv[2]);
|
||||||
#ifdef IMPLUS
|
#ifdef IMPLUS
|
||||||
beyn_contour_t *contour = beyn_contour_halfellipse(z0, Rx, Ry, N, BEYN_CONTOUR_HALFELLIPSE_IM_PLUS);
|
beyn_contour_t *contour = beyn_contour_halfellipse(z0, Rx, Ry, N, BEYN_CONTOUR_HALFELLIPSE_IM_PLUS);
|
||||||
|
#elif defined IMPLUS_KIDNEY
|
||||||
|
beyn_contour_t *contour = beyn_contour_kidney(z0, Rx, Ry, 0.3, N, BEYN_CONTOUR_HALFELLIPSE_IM_PLUS);
|
||||||
#else
|
#else
|
||||||
beyn_contour_t *contour = beyn_contour_ellipse(z0, Rx, Ry, N);
|
beyn_contour_t *contour = beyn_contour_ellipse(z0, Rx, Ry, N);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue