Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
main.h
Go to the documentation of this file.
1 
13 #ifndef MAIN_INCLUDED
14 #define MAIN_INCLUDED
15 
16 #include <iostream>
17 #include <fstream>
18 #include <string>
19 using std::string;
20 #include <valarray>
21 using std::valarray;
22 
23 #include "configure.h"
24 #include "defs.h"
25 #include "parameters.h"
26 #include "parameterManager_YAML.h"
27 
28 #include "bridgeIO.h"
29 using Bridge::vout;
30 
31 #include "timer.h"
32 
33 const string filename_main_input = "main.yaml";
34 // const string filename_main_input = "stdin";
35 
36 //- prototype declaration
37 #ifdef USE_TESTMANAGER
38 int run_testmanager(int argc, char **argv);
39 
40 #else
41 int run_test();
42 #endif
43 
45 {
46  public:
48  {
49  Register_int_vector("lattice_size", valarray<int>());
50  Register_int_vector("grid_size", valarray<int>());
51 
52  Register_string("log_filename", "NULL");
53  Register_string("ildg_log_filename", "NULL");
54 
55  Register_string("verbose_level", "NULL");
56  }
57 };
58 #endif