15 namespace InlinePlaqDenEnv
49 void siteAction(multi1d<LatticeReal>& site_act,
const multi1d<LatticeColorMatrix>&
u)
54 site_act.resize(
Nd*(
Nd-1)/2);
57 Real third = Real(1) / Real(Nc);
81 XMLReader paramtop(xml, path);
84 read(paramtop,
"version", version);
92 QDPIO::cerr <<
"Params::Param_t: " << version
93 <<
" unsupported." << std::endl;
104 write(xml,
"version", version);
113 XMLReader inputtop(xml, path);
141 XMLReader paramtop(xml_in, path);
143 if (paramtop.count(
"Frequency") == 1)
156 QDPIO::cerr <<
"Caught Exception reading XML: " << e << std::endl;
168 const multi1d<LatticeColorMatrix>&
u =
171 push(xml_out,
"PlaqDen");
172 write(xml_out,
"update_no", update_no);
174 multi1d<LatticeReal> plaq_site;
176 siteAction(plaq_site,
u);
181 write(txt,
"plaq_site", plaq_site);
Inline measurement factory.
void operator()(unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
All gauge create-state method.
Gauge create state factory.
Inline plaquette density.
Named object function std::map.
static bool registered
Local registration flag.
const std::string name
Name to be used.
bool registerAll()
Register all the factories.
void write(XMLWriter &xml, const std::string &path, const Params::Param_t ¶m)
Parameter output.
void read(XMLReader &xml, const std::string &path, Params::Param_t ¶m)
Parameter input.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
struct Chroma::InlinePlaqDenEnv::Params::Param_t param
struct Chroma::InlinePlaqDenEnv::Params::NamedObject_t named_obj