Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
run_test.cpp
Go to the documentation of this file.
1 /*
2  @file run_test.cpp
3 
4  @brief
5 
6  @author Tatsumi Aoyama (aoym)
7  $LastChangedBy: aoyama $
8 
9  @date $LastChangedDate: 2013-04-08 18:00:27 #$
10 
11  @version $LastChangedRevision: 1942 $
12 */
13 
14 //#include "main.h"
15 #include <cstdlib>
16 #include "testlist.h"
17 
18 //====================================================================
19 int run_test()
20 {
21  //- put your exec test here
22 
23 #if defined(USE_GROUP_SU2)
24  // Nc=2 is not available.
25 #else
26 #ifdef USE_TEST_EIGENSOLVER
30 #endif
31 
32 
33 #ifdef USE_TEST_FFT
34 #ifdef USE_FFTWLIB
35  Test_FFT::fft();
36  Test_FFT::fft_check();
37 #endif
38 #endif
39 
40 
41 #ifdef USE_TEST_GAUGE
46 #endif
47 
48 
49 #ifdef USE_TEST_GRADIENTFLOW
55 #endif
56 
57 
58 #ifdef USE_TEST_HMC
59  // Test_HMC_Clover::update_Nf2();
65 
68 
71 
74 
77 #endif
78 
79 
80 #ifdef USE_TEST_HOTSTART
84 #endif
85 
86 
87 #ifdef USE_TEST_IO
89 
91 #ifdef USE_MPI
94 #endif
96 
97 #ifdef USE_LIMELIB
99 #ifdef USE_MPI
101 #endif
102 #endif
103 
105 #endif
106 
107 
108 #ifdef USE_TEST_MULT
112  //- NB. Fopr_Clover_SF is implemented only in Chiral rep.
113  // Test_Mult::mult_Clover_SF();
115  //- NB. test_Mult_Wilson is implemented separately for beginners
116  // Test_Mult::mult_Wilson();
120  //- NB. Fopr_Wilson_SF is implemented only in Chiral rep.
121  // Test_Mult::mult_Wilson_SF();
123 #endif
124 
125 
126 #ifdef USE_TEST_POLYAKOVLOOP
128 #endif
129 
130 
131 #ifdef USE_TEST_QUARKNUMSUSCEPT
133 #endif
134 
135 
136 #ifdef USE_TEST_RANDOMNUMBERS
140 
143 
147 
151 
152 #ifdef USE_SFMTLIB
153  Test_RandomNumbers::rand_field_SFMT_Gaussian();
154  Test_RandomNumbers::rand_field_SFMT_U1();
155  Test_RandomNumbers::rand_field_SFMT_Z2();
156 
159 #endif
160 #endif
161 
162 
163 #ifdef USE_TEST_RATIONAL
167 #endif
168 
169 
170 #ifdef USE_TEST_SF_FAFP
171 #if defined(USE_OPENMP)
172  // multithreading yet unsupported.
173 #else
175 #endif
176 #endif
177 
178 
179 #ifdef USE_TEST_SOLVER
187 
189 #endif
190 
191 
192 #ifdef USE_TEST_SPECTRUM
193 #ifdef USE_MPI
194  // these tests run only in single-node environment.
195 #else
197 #endif
198 
202 
205 
207 
210 
214 
217 
218  //- NB. test_Spectrum_Wilson is implemented separately for beginners
219  // Test_Spectrum::hadron_2ptFunction_Wilson();
220 
221  //- NB. test_Spectrum_Wilson is implemented separately for beginners
222  // Test_Spectrum::hadron_2ptFunction_withFileIO_Wilson();
223 
224  //- NB. test_Spectrum_Wilson is implemented separately for beginners
225  // Test_Spectrum::hadron_2ptFunction_eo_Wilson();
226 
227  //- NB. test_Spectrum_Wilson is implemented separately for beginners
228  // Test_Spectrum::hadron_2ptFunction_eo_withFileIO_Wilson();
229 #endif
230 
231 
232 #ifdef USE_TEST_TOPOLOGICALCHARGE
234 #endif
235 
236 
237 #ifdef USE_TEST_WILSONLOOP
239 #endif
240 
241 
242 //- #endif of #if defined(USE_GROUP_SU2)
243 #endif
244 
245  return EXIT_SUCCESS;
246 }
int shift(void)
int mult_Wilson_Isochemical()
Definition: test_Mult.cpp:98
int run_test()
Definition: run_test.cpp:19
int mult_Clover_eo()
int mult_CloverGeneral()
Definition: test_Mult.cpp:60
int mult_WilsonGeneral()
Definition: test_Mult.cpp:92
int mult_Clover_Isochemical()
Definition: test_Mult.cpp:66
int test_io_data_text(void)
int mult_Wilson_eo()
int mult_Clover()
Definition: test_Mult.cpp:54