18 XMLReader paramtop(xml, path);
21 read(paramtop,
"version", version);
30 QDPIO::cerr <<
"Input version " << version <<
" unsupported." << std::endl;
47 write(xml,
"version", version);
60 XMLReader inputtop(xml, path);
81 namespace InlineCoulGaugeEnv
121 XMLReader paramtop(xml_in, path);
123 if (paramtop.count(
"Frequency") == 1)
161 QDP::StopWatch snoop;
165 XMLBufferWriter gauge_xml;
166 multi1d<LatticeColorMatrix>
u =
170 push(xml_out,
"CoulGauge");
171 write(xml_out,
"update_no", update_no);
181 write(xml_out,
"Config_info", gauge_xml);
183 push(xml_out,
"Output_version");
184 write(xml_out,
"out_version", 1);
188 MesPlq(xml_out,
"Observables",
u);
191 multi1d<LatticeColorMatrix> u_gfix(
Nd);
194 LatticeColorMatrix g;
201 push(xml_out,
"Gauge_fixing_parameters");
204 write(xml_out,
"iterations",n_gf);
211 MesPlq(xml_out,
"Gfix_observables", u_gfix);
215 XMLBufferWriter file_xml, record_xml;
216 push(file_xml,
"gauge");
217 write(file_xml,
"id",
int(0));
219 record_xml << gauge_xml;
238 << snoop.getTimeInSeconds()
239 <<
" secs" << std::endl;
Inline measurement factory.
Inline measurement of Coulomb gauge fixing.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
Coulomb (and Landau) gauge fixing.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void unitarityCheck(const multi1d< LatticeColorMatrixF3 > &u)
Check the unitarity of color matrix in SU(N)
void coulGauge(multi1d< LatticeColorMatrix > &u, int &n_gf, int j_decay, const Real &GFAccu, int GFMax, bool OrDo, const Real &OrPara)
Coulomb (and Landau) gauge fixing.
void proginfo(XMLWriter &xml)
Print out basic information about this program.
Inline coulomb (and landau) gauge fixing loops.
Named object function std::map.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
void MesPlq(const multi1d< LatticeColorMatrixF3 > &u, multi2d< Double > &plane_plaq, Double &link)
Print out basic info about this program.
struct Chroma::InlineCoulGaugeEnv::Params::NamedObject_t named_obj
struct Chroma::InlineCoulGaugeEnv::Params::Param_t param
void write(XMLWriter &xml_out, const std::string &path)