17 namespace InlineDistillutionNoiseEnv
22 XMLReader inputtop(xml, path);
41 XMLReader inputtop(xml, path);
86 return new InlineMeas(Params(xml_in, path));
116 XMLReader paramtop(xml_in, path);
118 if (paramtop.count(
"Frequency") == 1)
130 if (paramtop.count(
"xml_file") != 0)
137 QDPIO::cerr << __func__ <<
": Caught Exception reading XML: " << e << std::endl;
154 push(xml_out,
"DistillutionNoise");
155 write(xml_out,
"update_no", update_no);
156 write(xml_out,
"xml_file", xml_file);
159 XMLFileWriter xml(xml_file);
160 func(update_no, xml);
164 func(update_no, xml_out);
180 push(xml_out,
"DistillutionNoise");
181 write(xml_out,
"update_no", update_no);
183 QDPIO::cout <<
name <<
": initialize distillution noise factory" << std::endl;
193 QDPIO::cout <<
"Create a distillution factory" << std::endl;
202 catch (std::bad_cast)
204 QDPIO::cerr <<
name <<
": caught dynamic cast error" << std::endl;
209 QDPIO::cerr <<
name <<
": error creating distillution_noise object: " << e << std::endl;
216 QDPIO::cout <<
name <<
": total time = "
217 << snoop.getTimeInSeconds()
218 <<
" secs" << std::endl;
220 QDPIO::cout <<
name <<
": ran successfully" << std::endl;
Inline measurement factory.
Class for counted reference semantics.
void func(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
Support for distillution - random time-slices and quark line noises.
void proginfo(XMLWriter &xml)
Print out basic information about this program.
std::string makeXMLFileName(std::string xml_file, unsigned long update_no)
Return a xml file name for inline measurements.
Setup the origin and noise factory for distillution.
Named object function std::map.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
void write(XMLWriter &xml, const std::string &path, const Params::NamedObject_t &input)
Propagator output.
void read(XMLReader &xml, const std::string &path, Params::NamedObject_t &input)
Propagator input.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
Print out basic info about this program.
std::string distillution_id