41 #if defined(USE_FACTORY) && !defined(USE_FACTORY_AUTOREGISTER)
42 bridge_init_factory();
45 #if defined(DEBUG) && defined(USE_FACTORY)
71 const std::vector<int>& lattice_size,
72 const std::vector<int>& grid_size,
73 const int number_of_threads,
74 const int number_of_colors,
75 const std::string& logfile,
76 const std::string& ildg_logfile,
77 const std::string& verbose_level
108 std::vector<int> lattice_size;
109 std::vector<int> grid_size = std::vector<int>();
110 int number_of_threads = 0;
111 int number_of_colors = Nc;
112 std::string logfile =
"stdout";
113 std::string ildg_logfile =
"stdout";
114 std::string verbose_level =
"General";
120 ret += params.
fetch_int(
"number_of_thread", number_of_threads);
121 ret += params.
fetch_int(
"number_of_color", number_of_colors);
123 ret += params.
fetch_string(
"ildg_log_filename", ildg_logfile);
124 ret += params.
fetch_string(
"verbose_level", verbose_level);
138 const std::vector<int>& lattice_size,
139 const std::vector<int>& grid_size_hint,
140 const int number_of_threads,
141 const int number_of_colors,
142 const std::string& logfile,
143 const std::string& ildg_logfile,
144 const std::string& verbose_level
151 vout.
general(
" number of thread = %d\n", number_of_threads);
152 vout.
general(
" number of color = %d\n", number_of_colors);
154 vout.
general(
" ildg_logfile = %s\n", ildg_logfile.c_str());
155 vout.
general(
" vlevel = %s\n", verbose_level.c_str());
161 std::vector<int> grid_size(grid_size_hint);
175 if ((logfile.size() > 0) && (logfile !=
"stdout")) {
179 if ((ildg_logfile.size() > 0) && (ildg_logfile !=
"stdout")) {