15 namespace WeakGaugeInitEnv
46 XMLReader paramtop(xml, path);
66 multi1d<LatticeColorMatrix>&
u)
const
69 QDPIO::cout <<
"Starting up a weak field config" << std::endl;
72 XMLBufferWriter file_xml, record_xml;
73 push(file_xml,
"gauge");
74 write(file_xml,
"id",
int(0));
76 push(record_xml,
"weak_field");
79 gauge_file_xml.open(file_xml);
80 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 write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void weakField(multi1d< LatticeColorMatrix > &u)
Construct a weak field.
const std::string name
Name to be used.
static bool registered
Local registration flag.
GaugeInit * createSource(XMLReader &xml_in, const std::string &path)
Callback function.
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.