19 namespace InlineQTopEnv
53 XMLReader paramtop(xml, path);
56 read(paramtop,
"version", version);
61 if (paramtop.count(
"GaugeState") != 0)
68 QDPIO::cerr <<
"Params::Param_t: " << version
69 <<
" unsupported." << std::endl;
73 read(paramtop,
"k5", param.
k5);
82 write(xml,
"version", version);
93 XMLReader inputtop(xml, path);
120 XMLReader paramtop(xml_in, path);
122 if (paramtop.count(
"Frequency") == 1)
135 QDPIO::cerr <<
"Caught Exception reading XML: " << e << std::endl;
148 const multi1d<LatticeColorMatrix>&
u =
151 push(xml_out,
"QTop");
152 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 qtop_naive(const multi1d< LatticeColorMatrix > &u, const Real k5, Double &qtop)
Compute 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 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.
bool registerAll()
Register all the factories.
void read(XMLReader &xml, const std::string &path, Params::Param_t ¶m)
QTop input.
void write(XMLWriter &xml, const std::string &path, const Params::Param_t ¶m)
QTop output.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
FloatingPoint< double > Double
Calculate the topological charge from the gluonic definition.
struct Chroma::InlineQTopEnv::Params::Param_t param
struct Chroma::InlineQTopEnv::Params::NamedObject_t named_obj