29 namespace KYUGaugeInitEnv
60 XMLReader paramtop(xml, path);
83 multi1d<LatticeColorMatrix>&
u)
const
88 XMLBufferWriter file_xml, record_xml;
89 push(file_xml,
"gauge");
90 write(file_xml,
"id",
int(0));
92 push(record_xml,
"kentucky");
95 gauge_file_xml.open(file_xml);
96 gauge_xml.open(record_xml);
Base class for gauge initialization.
void operator()(XMLReader &gauge_file_xml, XMLReader &gauge_xml, multi1d< LatticeColorMatrix > &u) const
Initialize the gauge field.
All gauge field initializers.
Factory for producing gauge initializer objects.
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.
void readKYU(multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
Read a Kentucky gauge configuration.
Read/write a KYU gauge configuration.
static bool registered
Local registration flag.
GaugeInit * createSource(XMLReader &xml_in, const std::string &path)
Callback function.
const std::string name
Name to be used.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
Params for initializing config.
void writeXML(XMLWriter &in, const std::string &path) const
Parameters for running code.