Bridge++  Ver. 2.0.2
test_Spectrum_2ptFunction_withFileIO.cpp
Go to the documentation of this file.
1 
14 #include "test.h"
15 
16 #include "Field/shiftField_lex.h"
17 
18 #include "Fopr/fopr_Smeared.h"
19 
20 #include "IO/gaugeConfig.h"
21 
26 
27 #include "Tools/filename.h"
28 #include "Tools/file_utils.h"
30 #include "Tools/gammaMatrixSet.h"
31 
32 //====================================================================
34 
55 namespace Test_Spectrum {
56  const std::string test_name = "Spectrum.Hadron2ptFunction_withFileIO";
57 
58  //- test-private parameters
59  namespace {
60  // const std::string filename_input = "test_Spectrum_Clover_Hadron2ptFunction.yaml";
61  }
62 
63  //- prototype declaration
64  int hadron_2ptFunction_withFileIO(const std::string&);
65 
66  int calculate_quark_propagator_withFileIO(const std::string&);
67  int calculate_hadron_correlator_withFileIO(const std::string&);
68 
69  //- hadron_2ptFunction for various fermions
71  {
72  return hadron_2ptFunction_withFileIO("test_Spectrum_Clover_Hadron2ptFunction.yaml");
73  }
74 
75 
77  {
78  return hadron_2ptFunction_withFileIO("test_Spectrum_CloverGeneral_Hadron2ptFunction.yaml");
79  }
80 
81 
83  {
84  return hadron_2ptFunction_withFileIO("test_Spectrum_Wilson_TwistedMass_Hadron2ptFunction.yaml");
85  }
86 
87 
89  {
90  return hadron_2ptFunction_withFileIO("test_Spectrum_Wilson_Hadron2ptFunction.yaml");
91  }
92 
93 
95  {
96  return hadron_2ptFunction_withFileIO("test_Spectrum_WilsonGeneral_Hadron2ptFunction.yaml");
97  }
98 
99 
100 #ifdef USE_TESTMANAGER_AUTOREGISTER
101  namespace {
102 #if defined(USE_GROUP_SU2)
103  // Nc=2 is not available.
104 #else
105  static const bool is_registered_Clover = TestManager::RegisterTest(
106  "Spectrum.Clover.Hadron2ptFunction_withFileIO",
108  );
109 
110  static const bool is_registered_CloverGeneral = TestManager::RegisterTest(
111  "Spectrum.CloverGeneral.Hadron2ptFunction_withFileIO",
113  );
114 
115  static const bool is_registered_Wilson_TwistedMass = TestManager::RegisterTest(
116  "Spectrum.Wilson_TwistedMass.Hadron2ptFunction_withFileIO",
118  );
119 
120  //- NB. test_Spectrum_Wilson is implemented separately for beginners
121  // static const bool is_registered_Wilson = TestManager::RegisterTest(
122  // "Spectrum.Wilson.Hadron2ptFunction_withFileIO",
123  // hadron_2ptFunction_withFileIO_Wilson
124  // );
125 
126  static const bool is_registered_WilsonGeneral = TestManager::RegisterTest(
127  "Spectrum.WilsonGeneral.Hadron2ptFunction_withFileIO",
129  );
130 #endif
131  }
132 #endif
133 
134  //====================================================================
135  int hadron_2ptFunction_withFileIO(const std::string& filename_input)
136  {
137  int result = 0;
138 
139  Timer timer(test_name);
140 
141 
142  // #### Execution main part ####
143  timer.start();
144 
145  result += calculate_quark_propagator_withFileIO(filename_input);
146  result += calculate_hadron_correlator_withFileIO(filename_input);
147 
148  timer.report();
149 
150  return result;
151  }
152 
153 
154  //====================================================================
155  int calculate_quark_propagator_withFileIO(const std::string& filename_input)
156  {
157  // #### parameter setup ####
158  const int Nc = CommonParameters::Nc();
159  const int Nd = CommonParameters::Nd();
160  const int Ndim = CommonParameters::Ndim();
161  const int Nvol = CommonParameters::Nvol();
162 
163  const Parameters params_all = ParameterManager::read(filename_input);
164 
165  const Parameters params_test = params_all.lookup("Test_Spectrum");
166 
167  const int N_quark = params_test.get_int("number_of_valence_quarks");
168 
169  const std::string str_gconf_status = params_test.get_string("gauge_config_status");
170  const std::string str_gconf_read = params_test.get_string("gauge_config_type_input");
171  const std::string readfile = params_test.get_string("config_filename_input");
172  const vector<int> Nshift_origin = params_test.get_int_vector("shift_origin");
173  const std::string str_vlevel = params_test.get_string("verbose_level");
174 
175  const std::string str_gfix_type = params_all.lookup("GaugeFixing").get_string("gauge_fixing_type");
176  const std::string str_proj_type = params_all.lookup("Projection").get_string("projection_type");
177  const std::string str_smear_type = params_all.lookup("Smear").get_string("smear_type");
178  const int Nsmear = params_all.lookup("Director_Smear").get_int("number_of_smearing");
179 
180  const Bridge::VerboseLevel vl = vout.set_verbose_level(str_vlevel);
181 
182  //- print input parameters
183  vout.general(vl, " gconf_status = %s\n", str_gconf_status.c_str());
184  vout.general(vl, " gconf_read = %s\n", str_gconf_read.c_str());
185  vout.general(vl, " readfile = %s\n", readfile.c_str());
186  for (int mu = 0; mu < Ndim; ++mu) {
187  vout.general(vl, " shift_origin[%d] = %d\n", mu, Nshift_origin[mu]);
188  }
189  vout.general(vl, " vlevel = %s\n", str_vlevel.c_str());
190  vout.general(vl, " gfix_type = %s\n", str_gfix_type.c_str());
191  vout.general(vl, " proj_type = %s\n", str_proj_type.c_str());
192  vout.general(vl, " smear_type = %s\n", str_smear_type.c_str());
193 
194  vector<Parameters> params_quark;
195  for (int iq = 0; iq < N_quark; ++iq) {
196  std::string qlabel = Filename("Quark_{id}").format(iq + 1);
197  params_quark.push_back(params_all.lookup(qlabel));
198  }
199 
200  // NB. all str_gmset_type are supposed to be the same.
201  std::string str_gmset_type = params_quark[0].lookup("Fopr").get_string("gamma_matrix_type");
202  vout.general(vl, " gmset_type = %s\n", str_gmset_type.c_str());
203 
204  std::vector<std::string> savefile_base(N_quark);
205  for (int iq = 0; iq < N_quark; ++iq) {
206  savefile_base[iq] = params_quark[iq].get_string("temporary_filename_base");
207  }
208 
209  for (int iq = 0; iq < N_quark; ++iq) {
210  std::string str_solver_type = params_quark[iq].lookup("Solver").get_string("solver_type");
211  std::string str_source_type = params_quark[iq].lookup("Source").get_string("source_type");
212  vector<int> source_position = params_quark[iq].lookup("Source").get_int_vector("source_position");
213 
214  vout.general(vl, " Quark_%d:\n", iq + 1);
215  vout.general(vl, " savefile_base[iq] = %s[%d]\n", savefile_base[iq].c_str(), iq);
216  vout.general(vl, " solver_type = %s\n", str_solver_type.c_str());
217  vout.general(vl, " source_type = %s\n", str_source_type.c_str());
218  for (int mu = 0; mu < Ndim; ++mu) {
219  vout.general(vl, " source_position[%d] = %d\n", mu, source_position[mu]);
220  }
221  }
222  vout.general(vl, "\n");
223 
224 
225  //- input parameter check
226  int err = 0;
227  err += ParameterCheck::non_NULL(str_gconf_status);
228 
229  if (err) {
230  vout.crucial(vl, "Error at %s: input parameters have not been set\n", test_name.c_str());
231  exit(EXIT_FAILURE);
232  }
233 
234  for (int iq = 0; iq < N_quark; ++iq) {
235  std::string str_solver_type = params_quark[iq].lookup("Solver").get_string("solver_type");
236 
237  if (str_solver_type == "CG") {
238  vout.crucial(vl, "Error at %s: CG can not be adopted. Use CGNE,CGNR, instead.\n", test_name.c_str());
239  exit(EXIT_FAILURE);
240  }
241  }
242 
243  if ((Nsmear > 0) && (str_proj_type == "Stout_SU3")) {
244  if (CommonParameters::Nc() != 3) {
245  vout.crucial(vl, "check skipped: Nc = 3 is needed, but Nc = %d.\n\n", CommonParameters::Nc());
246  //- NB. EXIT_SKIP is set in calculate_hadron_correlator_withFileIO()
247  // return EXIT_SKIP;
248  return EXIT_SUCCESS;
249  }
250  }
251 
252  if ((str_gfix_type == "Coulomb") || (str_gfix_type == "Landau")) {
253  if (CommonParameters::Nc() != 3) {
254  vout.crucial(vl, "check skipped: Nc = 3 is needed, but Nc = %d.\n\n", CommonParameters::Nc());
255  return EXIT_SKIP;
256  }
257  }
258 
259 
260  RandomNumberManager::initialize("Mseries", 1234567UL);
261 
262 
263  // #### Set up a gauge configuration ####
264  Field_G U(Nvol, Ndim);
265 
266  if (str_gconf_status == "Continue") {
267  GaugeConfig(str_gconf_read).read(U, readfile);
268  } else if (str_gconf_status == "Cold_start") {
269  GaugeConfig("Unit").read(U);
270  } else if (str_gconf_status == "Hot_start") {
271  GaugeConfig("Random").read(U);
272  } else {
273  vout.crucial(vl, "Error at %s: unsupported gconf status \"%s\"\n", test_name.c_str(), str_gconf_status.c_str());
274  exit(EXIT_FAILURE);
275  }
276 
277  {
279  for (int i_dir = 0; i_dir < Ndim; ++i_dir) {
280  for (int i_shift = 0; i_shift < Nshift_origin[i_dir]; ++i_shift) {
281  Field_G Ushift(Nvol, Ndim);
282  shift.backward(Ushift, U, i_dir);
283  copy(U, Ushift);
284  }
285  }
286  }
287 
288  if (Nsmear > 0) {
289  unique_ptr<Projection> proj(Projection::New(str_proj_type, params_all.lookup("Projection")));
290  unique_ptr<Smear> smear(Smear::New(str_smear_type, proj.get(), params_all.lookup("Smear")));
291  unique_ptr<Director_Smear> dr_smear(new Director_Smear(smear.get(), params_all.lookup("Director_Smear")));
292  dr_smear->set_config(&U);
293 
294  const Field_G *Usmear = (Field_G *)dr_smear->getptr_smearedConfig(Nsmear);
295  copy(U, *Usmear);
296  }
297 
298  // #### Gauge fixing ####
299  {
300  Field_G Ufix(Nvol, Ndim);
301  unique_ptr<GaugeFixing> gfix(GaugeFixing::New(str_gfix_type, params_all.lookup("GaugeFixing")));
302 
303  gfix->fix(Ufix, U);
304  copy(U, Ufix);
305  }
306 
307 
308  // #### object setup #####
309  struct QuarkType
310  {
311  unique_ptr<Fopr> fopr;
312  unique_ptr<Solver> solver;
313  unique_ptr<Fprop> fprop;
314  unique_ptr<Source> source;
315  };
316 
317  std::vector<QuarkType> quark(N_quark);
318 
319  for (int iq = 0; iq < N_quark; ++iq) {
320  const Parameters& params_fopr = params_quark[iq].lookup("Fopr");
321  const Parameters& params_solver = params_quark[iq].lookup("Solver");
322  const Parameters& params_source = params_quark[iq].lookup("Source");
323 
324  quark[iq].fopr.reset(Fopr::New(params_fopr.get_string("fermion_type"),
325  params_fopr));
326  quark[iq].fopr->set_config(&U);
327 
328  quark[iq].solver.reset(Solver::New(params_solver.get_string("solver_type"),
329  quark[iq].fopr.get(),
330  params_solver));
331 
332  quark[iq].fprop.reset(new Fprop_Standard_lex(quark[iq].solver.get()));
333 
334  quark[iq].source.reset(Source::New(params_source.get_string("source_type"),
335  params_source));
336  }
337  vout.general(vl, "\n");
338 
339  unique_ptr<FieldIO> field_io(new FieldIO_Binary(IO_Format::Trivial));
340 
341 
342  // #### Execution main part ####
343  for (int iq = 0; iq < N_quark; ++iq) {
344  vout.general(vl, "Solving quark propagator, flavor = %d:\n", iq + 1);
345  vout.general(vl, " color spin Nconv diff diff2\n");
346 
347  for (int ispin = 0; ispin < Nd; ++ispin) {
348  for (int icolor = 0; icolor < Nc; ++icolor) {
349  int i_cd = icolor + Nc * ispin;
350 
351  Field_F b; // b.set(0.0);
352  quark[iq].source->set(b, i_cd);
353 
354  Field_F xq;
355  int Nconv;
356  double diff;
357  quark[iq].fprop->invert_D(xq, b, Nconv, diff);
358 
359  Field_F y(b);
360  quark[iq].fopr->set_mode("D");
361  quark[iq].fopr->mult(y, xq); // y = fopr[iq]->mult(xq);
362  axpy(y, -1.0, b); // y -= b;
363  double diff2 = y.norm2() / b.norm2();
364 
365  vout.general(vl, " %2d %2d %6d %12.4e %12.4e\n",
366  icolor, ispin, Nconv, diff, diff2);
367 
368  std::string filename = FileUtils::generate_filename("%s_c%d_s%d.dat", savefile_base[iq].c_str(), (icolor + 1), (ispin + 1));
369  field_io->write_file(xq, filename);
370  }
371  }
372 
373  vout.general(vl, "\n");
374  }
375 
376  return EXIT_SUCCESS;
377  }
378 
379 
380  //====================================================================
381  int calculate_hadron_correlator_withFileIO(const std::string& filename_input)
382  {
383  // #### parameter setup ####
384  const int Nc = CommonParameters::Nc();
385  const int Nd = CommonParameters::Nd();
386  const int Ndim = CommonParameters::Ndim();
387  const int Nvol = CommonParameters::Nvol();
388 
389  const Parameters params_all = ParameterManager::read(filename_input);
390 
391  const Parameters params_test = params_all.lookup("Test_Spectrum");
392 
393  const int N_quark = params_test.get_int("number_of_valence_quarks");
394 
395  const std::string str_vlevel = params_test.get_string("verbose_level");
396 
397  const bool do_check = params_test.is_set("expected_result");
398  const double expected_result = do_check ? params_test.get_double("expected_result") : 0.0;
399 
400  const std::string str_proj_type = params_all.lookup("Projection").get_string("projection_type");
401  const int Nsmear = params_all.lookup("Director_Smear").get_int("number_of_smearing");
402 
403  std::vector<std::string> savefile_base(N_quark);
404 
405  for (int iq = 0; iq < N_quark; ++iq) {
406  savefile_base[iq] = params_all
407  .lookup(Filename("Quark_{id}").format(iq + 1))
408  .get_string("temporary_filename_base");
409  }
410 
411  const Bridge::VerboseLevel vl = vout.set_verbose_level(str_vlevel);
412 
413  //- print input parameters
414  vout.general(vl, " vlevel = %s\n", str_vlevel.c_str());
415 
416  // NB. all str_gmset_type are supposed to be the same.
417  const std::string str_gmset_type = params_all.lookup("Quark_1").lookup("Fopr").get_string("gamma_matrix_type");
418  vout.general(vl, " gmset_type = %s\n", str_gmset_type.c_str());
419 
420  for (int iq = 0; iq < N_quark; ++iq) {
421  vout.general(vl, " savefile_base[iq] = %s[%d]\n", savefile_base[iq].c_str(), iq);
422  }
423 
424  if ((Nsmear > 0) && (str_proj_type == "Stout_SU3")) {
425  if (CommonParameters::Nc() != 3) {
426  vout.crucial(vl, "check skipped: Nc = 3 is needed, but Nc = %d.\n\n", CommonParameters::Nc());
427  return EXIT_SKIP;
428  }
429  }
430 
431 
432  // #### Set up objects #####
433  unique_ptr<GammaMatrixSet> gmset(GammaMatrixSet::New(str_gmset_type));
434 
435  unique_ptr<FieldIO> field_io(new FieldIO_Binary(IO_Format::Trivial));
436 
437  Corr2pt_4spinor corr(gmset.get(), params_all.lookup("Corr2pt_4spinor"));
438 
439 
440  // #### Execution main part ####
441  typedef std::vector<Field_F> PropagatorSet;
442  std::vector<PropagatorSet> sq(N_quark);
443  for (int iq = 0; iq < N_quark; ++iq) {
444  sq[iq].resize(Nc * Nd);
445 
446  for (int i_cd = 0; i_cd < Nc * Nd; ++i_cd) {
447  sq[iq][i_cd].set(0.0);
448  }
449  }
450 
451 
452  for (int iq = 0; iq < N_quark; ++iq) {
453  for (int ispin = 0; ispin < Nd; ++ispin) {
454  for (int icolor = 0; icolor < Nc; ++icolor) {
455  int i_cd = icolor + Nc * ispin;
456 
457  std::string filename = FileUtils::generate_filename("%s_c%d_s%d.dat", savefile_base[iq].c_str(), (icolor + 1), (ispin + 1));
458  field_io->read_file(sq[iq][i_cd], filename);
459  }
460  }
461  }
462 
463 
464  //- meson correlators
465  std::vector<double> result(N_quark);
466 
467  vout.general(vl, "2-point correlator:\n");
468 
469  //- case(iq_1 == iq_2)
470  for (int iq = 0; iq < N_quark; ++iq) {
471  vout.general(vl, "Flavor combination = %d, %d\n", iq + 1, iq + 1);
472  result[iq] = corr.meson_all(sq[iq], sq[iq]);
473  vout.general(vl, "\n");
474  }
475 
476 
477  //- case(iq_1 < iq_2)
478  for (int iq = 0; iq < N_quark; ++iq) {
479  for (int jq = iq + 1; jq < N_quark; ++jq) {
480  vout.general(vl, "Flavor combination = %d, %d\n", iq + 1, jq + 1);
481  double result_2 = corr.meson_all(sq[iq], sq[jq]);
482  vout.general(vl, "\n");
483  }
484  }
485 
487 
488 
489  if (do_check) {
490  return Test::verify(result[0], expected_result);
491  } else {
492  vout.detailed(vl, "check skipped: expected_result not set.\n\n");
493  return EXIT_SKIP;
494  }
495  }
496 } // namespace Test_Spectrum
Test::verify
int verify(const double result, const double expected, double eps)
Definition: test.cpp:27
Test_Spectrum::hadron_2ptFunction_withFileIO
int hadron_2ptFunction_withFileIO(const std::string &)
Definition: test_Spectrum_2ptFunction_withFileIO.cpp:135
Test_Spectrum::hadron_2ptFunction_withFileIO_Wilson_TwistedMass
int hadron_2ptFunction_withFileIO_Wilson_TwistedMass()
Definition: test_Spectrum_2ptFunction_withFileIO.cpp:82
ParameterCheck::non_NULL
int non_NULL(const std::string v)
Definition: parameterCheck.cpp:65
Fprop_Standard_lex
Get quark propagator for Fopr with lexical site index.
Definition: fprop_Standard_lex.h:33
Test_Spectrum::test_name
const std::string test_name
Definition: test_Spectrum_2ptFunction.cpp:72
CommonParameters::Ndim
static int Ndim()
Definition: commonParameters.h:117
Test_Spectrum::hadron_2ptFunction_withFileIO_Clover
int hadron_2ptFunction_withFileIO_Clover()
Definition: test_Spectrum_2ptFunction_withFileIO.cpp:70
Field::set
void set(const int jin, const int site, const int jex, double v)
Definition: field.h:175
Parameters
Class for parameters.
Definition: parameters.h:46
Corr2pt_4spinor::meson_all
double meson_all(const std::vector< Field_F > &sq1, const std::vector< Field_F > &sq2)
Definition: corr2pt_4spinor.cpp:53
shiftField_lex.h
Parameters::get_int
int get_int(const string &key) const
Definition: parameters.cpp:192
Bridge::BridgeIO::detailed
void detailed(const char *format,...)
Definition: bridgeIO.cpp:219
GaugeConfig::read
void read(Field_G &U, const string &filename=string())
Definition: gaugeConfig.cpp:121
fprop_Standard_lex.h
gaugeConfig.h
CommonParameters::Nvol
static int Nvol()
Definition: commonParameters.h:109
Test_Spectrum::hadron_2ptFunction_withFileIO_CloverGeneral
int hadron_2ptFunction_withFileIO_CloverGeneral()
Definition: test_Spectrum_2ptFunction_withFileIO.cpp:76
axpy
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
Definition: field.cpp:380
filename.h
Parameters::get_int_vector
vector< int > get_int_vector(const string &key) const
Definition: parameters.cpp:267
source.h
Timer
Definition: timer.h:31
RandomNumberManager::finalize
static void finalize()
Definition: randomNumberManager.cpp:80
copy
void copy(Field &y, const Field &x)
copy(y, x): y = x
Definition: field.cpp:212
IO_Format::Trivial
const Format * Trivial
Definition: io_format.cpp:27
RandomNumberManager::initialize
static bool initialize(const std::string &rng_type, unsigned long seed)
Definition: randomNumberManager.cpp:57
Field::norm2
double norm2() const
Definition: field.cpp:113
Timer::start
void start()
Definition: timer.cpp:44
CommonParameters::Nc
static int Nc()
Definition: commonParameters.h:115
Test_Spectrum::calculate_hadron_correlator_withFileIO
int calculate_hadron_correlator_withFileIO(const std::string &)
Definition: test_Spectrum_2ptFunction_withFileIO.cpp:381
ParameterCheck::vl
Bridge::VerboseLevel vl
Definition: parameterCheck.cpp:18
Test_Spectrum::hadron_2ptFunction_withFileIO_WilsonGeneral
int hadron_2ptFunction_withFileIO_WilsonGeneral()
Definition: test_Spectrum_2ptFunction_withFileIO.cpp:94
file_utils.h
test.h
ParameterManager::read
static void read(const std::string &params_file, Parameters &params)
Definition: parameterManager.cpp:33
FieldIO_Binary
FieldIO_Binary class for file I/O of Field data in binary format.
Definition: fieldIO_Binary.h:47
Parameters::get_double
double get_double(const string &key) const
Definition: parameters.cpp:175
Corr2pt_4spinor
Two-point correlator for Wilson-type fermions.
Definition: corr2pt_4spinor.h:42
Director_Smear
Manager of smeared configurations.
Definition: director_Smear.h:39
Test_Spectrum::calculate_quark_propagator_withFileIO
int calculate_quark_propagator_withFileIO(const std::string &)
Definition: test_Spectrum_2ptFunction_withFileIO.cpp:155
Test_Solver_Wilson::solver
int solver(const std::string &)
Definition: test_Solver_Wilson.cpp:134
ShiftField_lex
Methods to shift a field in the lexical site index.
Definition: shiftField_lex.h:39
EXIT_SKIP
#define EXIT_SKIP
Definition: test.h:17
FileUtils::generate_filename
std::string generate_filename(const char *fmt,...)
Definition: file_utils.cpp:17
CommonParameters::Nd
static int Nd()
Definition: commonParameters.h:116
randomNumberManager.h
Test_Spectrum
Test of spectroscopy.
Definition: test_Spectrum_2ptFunction.cpp:71
GaugeConfig
GaugeConfig class for file I/O of gauge configuration.
Definition: gaugeConfig.h:80
Bridge::BridgeIO::set_verbose_level
static VerboseLevel set_verbose_level(const std::string &str)
Definition: bridgeIO.cpp:133
Parameters::is_set
bool is_set(const string &key) const
Definition: parameters.cpp:525
Field_F
Wilson-type fermion field.
Definition: field_F.h:37
fopr_Smeared.h
Parameters::get_string
string get_string(const string &key) const
Definition: parameters.cpp:221
Bridge::BridgeIO::crucial
void crucial(const char *format,...)
Definition: bridgeIO.cpp:180
Test_Spectrum::hadron_2ptFunction_withFileIO_Wilson
int hadron_2ptFunction_withFileIO_Wilson()
Definition: test_Spectrum_2ptFunction_withFileIO.cpp:88
Bridge::VerboseLevel
VerboseLevel
Definition: bridgeIO.h:42
Field_G
SU(N) gauge field.
Definition: field_G.h:38
gaugeFixing.h
Bridge::BridgeIO::general
void general(const char *format,...)
Definition: bridgeIO.cpp:200
corr2pt_4spinor.h
Filename::format
std::string format()
Definition: filename.h:61
Filename
Filename utility.
Definition: filename.h:43
gammaMatrixSet.h
Parameters::lookup
Parameters lookup(const string &key) const
Definition: parameters.h:79
Timer::report
void report(const Bridge::VerboseLevel vl=Bridge::GENERAL)
Definition: timer.cpp:128
Test_Gauge::shift
int shift(void)
Definition: test_Gauge_Shift.cpp:58
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512
TestManager::RegisterTest
static bool RegisterTest(const std::string &key, const Test_function func)
Definition: testManager.h:69