Bridge++  Version 1.4.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 $Id: run_test.cpp #$
3 
4  @brief
5 
6  @author Tatsumi Aoyama (aoym)
7  $LastChangedBy: namekawa $
8 
9  @date $LastChangedDate: 2013-04-08 18:00:27 #$
10 
11  @version $LastChangedRevision: 1605 $
12 */
13 
14 //#include "main.h"
15 #include <cstdlib>
16 #include "Tests/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 #ifdef USE_TEST_FFT
33 #ifdef USE_FFTWLIB
34  Test_FFT::fft();
35 #endif
36 #endif
37 
38 #ifdef USE_TEST_GAUGE
42 #endif
43 
44 #ifdef USE_TEST_GRADIENTFLOW
50 #endif
51 
52 #ifdef USE_TEST_HMC
53  // Test_HMC_Clover::update_Nf2();
59 
62 
65 
68 
71 #endif
72 
73 #ifdef USE_TEST_HOTSTART
77 #endif
78 
79 #ifdef USE_TEST_IO
81 
83 #ifdef USE_MPI
86 #endif
89 
90 #ifdef USE_LIMELIB
92 #ifdef USE_MPI
94 #endif
95 #endif
96 #endif
97 
98 #ifdef USE_TEST_MULT
102  //- NB. Fopr_Clover_SF is implemented only in Chiral rep.
103  // Test_Mult::mult_Clover_SF();
104  //- NB. test_Mult_Wilson is implemented separately for beginners
105  // Test_Mult::mult_Wilson();
108  //- NB. Fopr_Wilson_SF is implemented only in Chiral rep.
109  // Test_Mult::mult_Wilson_SF();
110 
112 
115 #endif
116 
117 #ifdef USE_TEST_POLYAKOVLOOP
119 #endif
120 
121 #ifdef USE_TEST_QUARKNUMSUSCEPT
123 #endif
124 
125 #ifdef USE_TEST_RANDOMNUMBERS
130 
134 
135 #ifdef USE_SFMTLIB
139 #endif
140 #endif
141 
142 #ifdef USE_TEST_RATIONAL
146 #endif
147 
148 #ifdef USE_TEST_SF_FAFP
149 #if defined(USE_OPENMP)
150  // multithreading yet unsupported.
151 #else
153 #endif
154 #endif
155 
156 #ifdef USE_TEST_SHIFTSOLVER
158 #endif
159 
160 #ifdef USE_TEST_SPECTRUM
163  //- NB. test_Spectrum_Wilson is implemented separately for beginners
164  // Test_Spectrum::hadron_2ptFunction_Wilson();
167 
169  //- NB. test_Spectrum_Wilson is implemented separately for beginners
170  // Test_Spectrum::hadron_2ptFunction_eo_withFileIO_Wilson();
171 
174  //- NB. test_Spectrum_Wilson is implemented separately for beginners
175  // Test_Spectrum::hadron_2ptFunction_withFileIO_Wilson();
177 
179  //- NB. test_Spectrum_Wilson is implemented separately for beginners
180  // Test_Spectrum::hadron_2ptFunction_eo_Wilson();
181 
183 
184 #ifdef USE_MPI
185  // these tests run only in single-node environment.
186 #else
188 #endif
189 #endif
190 
191 #ifdef USE_TEST_TOPOLOGICALCHARGE
193 #endif
194 
195 #ifdef USE_TEST_WILSONLOOP
197 #endif
198 
199 //- #endif of #if defined(USE_GROUP_SU2)
200 #endif
201 
202  return EXIT_SUCCESS;
203 }
int shift(void)
int mult_Wilson_Isochemical()
Definition: test_Mult.cpp:85
int run_test()
Definition: run_test.cpp:19
int mult_Clover_eo()
int mult_CloverGeneral()
Definition: test_Mult.cpp:53
int mult_WilsonGeneral()
Definition: test_Mult.cpp:79
int mult_Clover_Isochemical()
Definition: test_Mult.cpp:59
int test_io_data_text(void)
int mult_Wilson_eo()
int mult_Clover()
Definition: test_Mult.cpp:47