Kidney contour basic test

Former-commit-id: 861cf5f9a8409db360e48db74274f20069b94391
This commit is contained in:
Marek Nečada 2019-09-30 10:54:10 +03:00
parent f940e62e52
commit dad170b8fe
2 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,11 @@ target_link_libraries( tbeyn3a_implus qpms gsl lapacke amos m )
target_include_directories( tbeyn3a_implus PRIVATE .. )
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 )
target_link_libraries( tbeyn3b qpms gsl lapacke amos m )
target_include_directories( tbeyn3b PRIVATE .. )

View File

@ -64,6 +64,8 @@ int main(int argc, char **argv) {
if (argc > 2) L = atoi(argv[2]);
#ifdef IMPLUS
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
beyn_contour_t *contour = beyn_contour_ellipse(z0, Rx, Ry, N);
#endif