19 XMLReader inputtop(xml, path);
36 namespace InlineLinkSmearEnv
75 XMLReader paramtop(xml_in, path);
77 if (paramtop.count(
"Frequency") == 1)
90 QDPIO::cerr <<
"Caught Exception reading XML: " << e << std::endl;
120 XMLBufferWriter gauge_xml;
121 multi1d<LatticeColorMatrix>
u =
125 push(xml_out,
"linksmear");
126 write(xml_out,
"update_no", update_no);
132 write(xml_out,
"Config_info", gauge_xml);
134 push(xml_out,
"Output_version");
135 write(xml_out,
"out_version", 1);
139 MesPlq(xml_out,
"Observables",
u);
144 multi1d<LatticeColorMatrix> u_smr =
u;
148 XMLReader linktop(xml_l);
156 (*linkSmearing)(u_smr);
168 MesPlq(xml_out,
"Link_observables", u_smr);
172 XMLBufferWriter file_xml, record_xml;
173 push(file_xml,
"gauge");
174 write(file_xml,
"id",
int(0));
176 record_xml << gauge_xml;
190 << snoop.getTimeInSeconds()
191 <<
" secs" << std::endl;
Inline measurement factory.
Class for counted reference semantics.
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 unitarityCheck(const multi1d< LatticeColorMatrixF3 > &u)
Check the unitarity of color matrix in SU(N)
GroupXML_t readXMLGroup(XMLReader &xml_in, const std::string &path, const std::string &type_name)
Read group and return as a std::string.
Class for counted reference semantics.
Factory for producing link smearing objects.
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)
void writeXML(XMLWriter &xml_out, const std::string &path)
struct Chroma::InlineLinkSmearEnv::Params::NamedObject_t named_obj