2 add_executable( test_vswf_translations_array test_vswf_translations_array.c )
3 target_link_libraries( test_vswf_translations_array qpms gsl blas lapacke amos m )
4 target_include_directories ( test_vswf_translations_array PRIVATE .. )
6 add_executable( test_vswf_translations test_vswf_translations.c )
7 target_link_libraries( test_vswf_translations qpms gsl blas lapacke amos m )
8 target_include_directories ( test_vswf_translations PRIVATE .. )
10 add_executable( test_single_translations_vs_calc single_translations_vs_calc.c )
11 target_link_libraries( test_single_translations_vs_calc qpms gsl lapacke amos m )
12 target_include_directories( test_single_translations_vs_calc PRIVATE .. )
14 add_executable( test_scalar_ewald32 test_scalar_ewald32.c )
15 target_link_libraries( test_scalar_ewald32 qpms gsl lapacke amos m )
16 target_include_directories( test_scalar_ewald32 PRIVATE .. )
18 add_executable( kidneycontour kidneycontour.c )
19 target_link_libraries( kidneycontour qpms gsl lapacke amos m )
20 target_include_directories( kidneycontour PRIVATE .. )
22 add_executable( tbeyn tbeyn.c )
23 target_link_libraries( tbeyn qpms gsl lapacke amos m )
24 target_include_directories( tbeyn PRIVATE .. )
26 add_executable( tbeyn2 tbeyn2.c )
27 target_link_libraries( tbeyn2 qpms gsl lapacke amos m )
28 target_include_directories( tbeyn2 PRIVATE .. )
30 add_executable( tbeyn3a tbeyn3.c )
31 target_link_libraries( tbeyn3a qpms gsl lapacke amos m )
32 target_include_directories( tbeyn3a PRIVATE .. )
33 target_compile_definitions( tbeyn3a PRIVATE VARIANTA )
35 add_executable( tbeyn3a_implus tbeyn3.c )
36 target_link_libraries( tbeyn3a_implus qpms gsl lapacke amos m )
37 target_include_directories( tbeyn3a_implus PRIVATE .. )
38 target_compile_definitions( tbeyn3a_implus PRIVATE VARIANTA IMPLUS )
40 add_executable( tbeyn3a_kidney tbeyn3.c )
41 target_link_libraries( tbeyn3a_kidney qpms gsl lapacke amos m )
42 target_include_directories( tbeyn3a_kidney PRIVATE .. )
43 target_compile_definitions( tbeyn3a_kidney PRIVATE VARIANTA IMPLUS_KIDNEY )
45 add_executable( tbeyn3b tbeyn3.c )
46 target_link_libraries( tbeyn3b qpms gsl lapacke amos m )
47 target_include_directories( tbeyn3b PRIVATE .. )
48 target_compile_definitions( tbeyn3b PRIVATE VARIANTB RXSMALL )
50 add_executable( tbeyn3bfail tbeyn3.c )
51 target_link_libraries( tbeyn3bfail qpms gsl lapacke amos m )
52 target_include_directories( tbeyn3bfail PRIVATE .. )
53 target_compile_definitions( tbeyn3bfail PRIVATE VARIANTB )
55 add_executable( tbeyn3c tbeyn3.c )
56 target_link_libraries( tbeyn3c qpms gsl lapacke amos m )
57 target_include_directories( tbeyn3c PRIVATE .. )
58 target_compile_definitions( tbeyn3c PRIVATE VARIANTC RXSMALL )
60 add_executable( tbeyn3d tbeyn3.c )
61 target_link_libraries( tbeyn3d qpms gsl lapacke amos m )
62 target_include_directories( tbeyn3d PRIVATE .. )
63 target_compile_definitions( tbeyn3d PRIVATE VARIANTD RXSMALL )
65 add_executable( tbeyn3e tbeyn3.c )
66 target_link_libraries( tbeyn3e qpms gsl lapacke amos m )
67 target_include_directories( tbeyn3e PRIVATE .. )
68 target_compile_definitions( tbeyn3e PRIVATE VARIANTE RXSMALL )
70 add_executable( tbeyn3f tbeyn3.c )
71 target_link_libraries( tbeyn3f qpms gsl lapacke amos m )
72 target_include_directories( tbeyn3f PRIVATE .. )
73 target_compile_definitions( tbeyn3f PRIVATE VARIANTF )
75 add_executable( tbeyn_gsl tbeyn_gsl.c )
76 target_link_libraries( tbeyn_gsl qpms gsl lapacke amos m )
77 target_include_directories( tbeyn_gsl PRIVATE .. )
79 add_executable( tbeyn_gsl2 tbeyn_gsl2.c )
80 target_link_libraries( tbeyn_gsl2 qpms gsl lapacke amos m )
81 target_include_directories( tbeyn_gsl2 PRIVATE .. )
83 add_custom_target( mytests DEPENDS test_single_translations_vs_calc test_vswf_translations test_vswf_translations_array tbeyn )
85 add_test( NAME single_vs_array_translation_coeffs COMMAND test_single_translations_vs_calc )
87 add_test( NAME scalar_ewald32_square_realk1 COMMAND test_scalar_ewald32
88 # lMax b1.x b1.y b2.x b2.y wavenum.real wavenum.imag k.x k.y particle_shift.x particle_shift.y csphase rtol atol maxR maxK eta1 ...
89 3 1 0 0 1 2.3 0 2.7 1 0.5 0.1325 -1 1e-8 1e-10 20 160 1.5 1.6 2.5 2.6
92 add_test( NAME scalar_ewald32_square_realk2 COMMAND test_scalar_ewald32
93 # lMax b1.x b1.y b2.x b2.y wavenum.real wavenum.imag k.x k.y particle_shift.x particle_shift.y csphase rtol atol maxR maxK eta1 ...
94 3 1 0 0 1 2.3 0 2.7 1 0.0 0.0 -1 1e-8 1e-10 20 160 1.5 1.6 2.5 2.6
97 add_test( NAME scalar_ewald32_square_cplxk_positive_Im1 COMMAND test_scalar_ewald32
98 # lMax b1.x b1.y b2.x b2.y wavenum.real wavenum.imag k.x k.y particle_shift.x particle_shift.y csphase rtol atol maxR maxK eta1 ...
99 3 1 0 0 1 2.3 0.1 2.7 1 0.5 0.1325 -1 1e-8 1e-10 20 160 1.5 1.6 2.5 2.6
102 add_test( NAME scalar_ewald32_square_cplxk_negative_Im1 COMMAND test_scalar_ewald32
103 # lMax b1.x b1.y b2.x b2.y wavenum.real wavenum.imag k.x k.y particle_shift.x particle_shift.y csphase rtol atol maxR maxK eta1 ...
104 3 1 0 0 1 2.3 -0.1 2.7 1 0.5 0.1325 -1 1e-8 1e-10 20 160 1.5 1.6 2.5 2.6
107 add_test( NAME scalar_ewald32_square_cplxk_positive_Im2 COMMAND test_scalar_ewald32
108 # lMax b1.x b1.y b2.x b2.y wavenum.real wavenum.imag k.x k.y particle_shift.x particle_shift.y csphase rtol atol maxR maxK eta1 ...
109 3 1 0 0 1 2.3 0.1 2.7 1 0.0 0.0 -1 1e-8 1e-10 20 160 1.5 1.6 2.5 2.6
112 add_test( NAME scalar_ewald32_square_cplxk_negative_Im2 COMMAND test_scalar_ewald32
113 # lMax b1.x b1.y b2.x b2.y wavenum.real wavenum.imag k.x k.y particle_shift.x particle_shift.y csphase rtol atol maxR maxK eta1 ...
114 3 1 0 0 1 2.3 -0.1 2.7 1 0.0 0.0 -1 1e-8 1e-10 20 160 1.5 1.6 2.5 2.6
117 add_test( NAME scalar_ewald32_square_zerok COMMAND test_scalar_ewald32
118 # lMax b1.x b1.y b2.x b2.y wavenum.real wavenum.imag k.x k.y particle_shift.x particle_shift.y csphase rtol atol maxR maxK eta1 ...
119 3 1 0 0 1 2.3 0 0 0 0.5 0.1325 -1 1e-8 1e-10 40 160 1.5 1.6 2.5 2.6