8 #include "qdp_iogauge.h"
15 namespace InlineNERSCReadNamedObjEnv
68 XMLReader inputtop(xml, path);
76 XMLReader inputtop(xml, path);
89 XMLReader paramtop(xml_in, path);
91 if (paramtop.count(
"Frequency") == 1)
104 QDPIO::cerr << __func__ <<
": caught Exception reading XML: " << e << std::endl;
131 push(xml_out,
"nersc_read_named_obj");
132 write(xml_out,
"update_no", update_no);
146 XMLReader record_xml;
147 multi1d<LatticeColorMatrix>
u(
Nd);
154 XMLBufferWriter file_xml;
155 push(file_xml,
"NERSC");
163 QDPIO::cout <<
"Object successfully written: time= "
164 << swatch.getTimeInSeconds()
165 <<
" secs" << std::endl;
167 catch( std::bad_cast )
169 QDPIO::cerr <<
name <<
": cast error"
175 QDPIO::cerr <<
name <<
": error message: " << e
180 QDPIO::cout <<
name <<
": ran successfully" << std::endl;
Inline measurement factory.
Primary include file for CHROMA library code.
Inline reading of objects.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the writing.
Inline task to read an object from a named buffer.
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.
void read(XMLReader &xml, const std::string &path, Params::NamedObject_t &input)
Object buffer.
void write(XMLWriter &xml, const std::string &path, const Params::NamedObject_t &input)
Object buffer.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
void writeXML(XMLWriter &xml_out, const std::string &path)
struct Chroma::InlineNERSCReadNamedObjEnv::Params::File_t file
struct Chroma::InlineNERSCReadNamedObjEnv::Params::NamedObject_t named_obj