21 XMLReader paramtop(xml, path);
24 read(paramtop,
"version", version);
33 QDPIO::cerr <<
"InlineFermStateEnv::Params::Param_t: " << version
34 <<
" unsupported." << std::endl;
45 write(xml,
"version", version);
55 XMLReader inputtop(xml, path);
73 namespace InlineFermStateEnv
113 XMLReader paramtop(xml_in, path);
115 if (paramtop.count(
"Frequency") == 1)
128 QDPIO::cerr <<
"Caught Exception reading XML: " << e << std::endl;
157 push(xml_out,
"apply_ferm_state");
158 write(xml_out,
"update_no", update_no);
163 push(xml_out,
"Output_version");
164 write(xml_out,
"out_version", 1);
168 multi1d<LatticeColorMatrix>
u;
169 XMLBufferWriter gauge_xml;
176 catch( std::bad_cast )
190 write(xml_out,
"Config_info", gauge_xml);
193 MesPlq(xml_out,
"Observables",
u);
201 XMLReader fermtop(xml_s);
216 catch( std::bad_cast )
230 MesPlq(xml_out,
"Link_observables",
u);
234 XMLBufferWriter file_xml, record_xml;
235 push(file_xml,
"gauge");
236 write(file_xml,
"id",
int(0));
238 record_xml << gauge_xml;
251 << snoop.getTimeInSeconds()
252 <<
" 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 ferm create-state method.
Fermion 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 ferm state application.
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)
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
struct Chroma::InlineFermStateEnv::Params::Param_t param
struct Chroma::InlineFermStateEnv::Params::NamedObject_t named_obj
void writeXML(XMLWriter &xml_out, const std::string &path)