17 namespace InlineQActDenEnv
52 XMLReader paramtop(xml, path);
55 read(paramtop,
"version", version);
60 if (paramtop.count(
"GaugeState") != 0)
67 QDPIO::cerr <<
"Params::Param_t: " << version
68 <<
" unsupported." << std::endl;
79 write(xml,
"version", version);
89 XMLReader inputtop(xml, path);
116 XMLReader paramtop(xml_in, path);
118 if (paramtop.count(
"Frequency") == 1)
131 QDPIO::cerr <<
"Caught Exception reading XML: " << e << std::endl;
143 multi1d<LatticeColorMatrix>
u =
146 push(xml_out,
"QActDen");
147 write(xml_out,
"update_no", update_no);
Inline measurement factory.
void operator()(unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
All gauge create-state method.
Gauge create state factory.
void qactden(LatticeReal &lract, LatticeReal &lrqtop, const multi1d< LatticeColorMatrix > &u)
Measure the lattice density of the lattice energy and the naive topological charge.
GroupXML_t readXMLGroup(XMLReader &xml_in, const std::string &path, const std::string &type_name)
Read group and return as a std::string.
Inline action density and really naive topological charge.
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.
GroupXML_t nullXMLGroup()
Returns a simple createstate group.
void write(XMLWriter &xml, const std::string &path, const Params::Param_t ¶m)
Parameter output.
bool registerAll()
Register all the factories.
void read(XMLReader &xml, const std::string &path, Params::Param_t ¶m)
Parameter input.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
Measure the lattice density of the lattice energy and the naive topological charge.
struct Chroma::InlineQActDenEnv::Params::Param_t param
struct Chroma::InlineQActDenEnv::Params::NamedObject_t named_obj