17 XMLReader inputtop(xml, path);
38 namespace InlineRandomTransfGaugeEnv
78 XMLReader paramtop(xml_in, path);
80 if (paramtop.count(
"Frequency") == 1)
90 QDPIO::cerr <<
name <<
": Caught Exception reading XML: " << e << std::endl;
114 QDP::StopWatch snoop;
118 XMLBufferWriter gauge_xml;
119 multi1d<LatticeColorMatrix>
u =
123 push(xml_out,
"RandomTransfGauge");
124 write(xml_out,
"update_no", update_no);
126 QDPIO::cout <<
name <<
": coulomb gauge fix" << std::endl;
134 write(xml_out,
"Config_info", gauge_xml);
136 push(xml_out,
"Output_version");
137 write(xml_out,
"out_version", 1);
141 MesPlq(xml_out,
"Observables",
u);
144 multi1d<LatticeColorMatrix> u_rgauge =
u;
145 LatticeColorMatrix g;
149 MesPlq(xml_out,
"Random_gauge_transf_observables", u_rgauge);
153 XMLBufferWriter file_xml, record_xml;
154 push(file_xml,
"gauge");
155 write(file_xml,
"id",
int(0));
157 record_xml << gauge_xml;
175 QDPIO::cout <<
name <<
": total time = "
176 << snoop.getTimeInSeconds()
177 <<
" secs" << std::endl;
179 QDPIO::cout <<
name <<
": ran successfully" << std::endl;
Inline measurement factory.
Inline random gauge transformation on a gauge field.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
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 rgauge(multi1d< LatticeColorMatrix > &u, LatticeColorMatrix &g)
Do a random gauge transformation on the u fields.
void proginfo(XMLWriter &xml)
Print out basic information about this program.
Do a random gauge transformation on a gauge field.
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.
Do a random gauge transformation on the u fields.
struct Chroma::InlineRandomTransfGaugeEnv::Params::NamedObject_t named_obj
void writeXML(XMLWriter &xml_out, const std::string &path)