21 XMLReader paramtop(xml, path);
24 read(paramtop,
"version", version);
33 QDPIO::cerr <<
"InlineGaugeStateEnv::Params::Param_t: " << version
34 <<
" unsupported." << std::endl;
45 write(xml,
"version", version);
55 XMLReader inputtop(xml, path);
73 namespace InlineGaugeStateEnv
112 XMLReader paramtop(xml_in, path);
114 if (paramtop.count(
"Frequency") == 1)
127 QDPIO::cerr <<
"Caught Exception reading XML: " << e << std::endl;
156 push(xml_out,
"apply_gauge_state");
157 write(xml_out,
"update_no", update_no);
162 push(xml_out,
"Output_version");
163 write(xml_out,
"out_version", 1);
167 multi1d<LatticeColorMatrix>
u;
168 XMLBufferWriter gauge_xml;
175 catch( std::bad_cast )
189 write(xml_out,
"Config_info", gauge_xml);
192 MesPlq(xml_out,
"Observables",
u);
200 XMLReader gaugetop(xml_s);
215 catch( std::bad_cast )
229 MesPlq(xml_out,
"Link_observables",
u);
233 XMLBufferWriter file_xml, record_xml;
234 push(file_xml,
"gauge");
235 write(file_xml,
"id",
int(0));
237 record_xml << gauge_xml;
250 << snoop.getTimeInSeconds()
251 <<
" secs" << std::endl;
Inline measurement factory.
Class for counted reference semantics.
void operator()(unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
Functions to set and get default gauge field.
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.
GroupXML_t readXMLGroup(XMLReader &xml_in, const std::string &path, const std::string &type_name)
Read group and return as a std::string.
Inline gauge state application.
Named object function std::map.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
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
struct Chroma::InlineGaugeStateEnv::Params::Param_t param
void writeXML(XMLWriter &xml_out, const std::string &path)
struct Chroma::InlineGaugeStateEnv::Params::NamedObject_t named_obj