17 namespace InlineWilsonLoopEnv
52 XMLReader paramtop(xml, path);
55 read(paramtop,
"version", version);
62 if (paramtop.count(
"GaugeState") != 0)
67 QDPIO::cerr <<
"InlineWilsonLoopParams::Param_t: " << version
68 <<
" unsupported." << std::endl;
83 write(xml,
"version", version);
96 XMLReader paramtop(xml, path);
122 XMLReader paramtop(xml_in, path);
133 if (paramtop.count(
"xml_file") != 0)
140 QDPIO::cerr <<
"Caught Exception reading XML: " << e << std::endl;
156 push(xml_out,
"WilsonLoop");
157 write(xml_out,
"update_no", update_no);
158 write(xml_out,
"xml_file", xml_file);
161 XMLFileWriter xml(xml_file);
162 func(update_no, xml);
166 func(update_no, xml_out);
180 QDP::StopWatch snoop;
184 push(xml_out,
"WilsonLoop");
185 write(xml_out,
"update_no", update_no);
192 multi1d<LatticeColorMatrix>
u =
195 MesPlq(xml_out,
"Observables",
u);
200 XMLReader gaugetop(xml_s);
216 MesPlq(xml_out,
"Link_observables",
u);
225 catch (std::bad_cast)
239 << snoop.getTimeInSeconds()
240 <<
" secs" << std::endl;
Inline measurement factory.
Class for counted reference semantics.
Inline measurement of Wilson loops.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
void func(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
InlineWilsonLoopParams params
All gauge create-state method.
Gauge create state factory.
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 wilslp(const multi1d< LatticeColorMatrix > &u, int j_decay, int t_dir, int kind, XMLWriter &xml, const std::string &xml_group)
Calculate Wilson loops.
std::string makeXMLFileName(std::string xml_file, unsigned long update_no)
Return a xml file name for inline measurements.
GroupXML_t readXMLGroup(XMLReader &xml_in, const std::string &path, const std::string &type_name)
Read group and return as a std::string.
Named object function std::map.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
GroupXML_t nullXMLGroup()
Returns a simple createstate group.
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)
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
FloatingPoint< double > Double
struct Chroma::InlineWilsonLoopParams::NamedObject_t named_obj
struct Chroma::InlineWilsonLoopParams::Param_t param