8 #include "qdp_iogauge.h"
47 XMLReader inputtop(xml, path);
58 XMLReader inputtop(xml, path);
64 namespace InlineEigenBinColVecReadNamedObjEnv
99 XMLReader paramtop(xml_in, path);
101 if (paramtop.count(
"Frequency") == 1)
114 QDPIO::cerr << __func__ <<
": caught Exception reading XML: " << e << std::endl;
140 push(xml_out,
"eigeninfo_bin_colorvec_read_named_obj");
141 write(xml_out,
"update_no", update_no);
143 QDPIO::cout <<
name <<
": object reader" << std::endl;
157 XMLBufferWriter file_xml;
159 push(file_xml,
"MODMetaData");
161 write(file_xml,
"lattSize", QDP::Layout::lattSize());
165 file_str = file_xml.str();
169 typedef LatticeColorVector
T;
172 XMLReader MapObjReader(xml_s);
184 const int decay_dir =
Nd-1;
185 const int Lt = QDP::Layout::lattSize()[decay_dir];
201 for(
int t=0;
t < Lt; ++
t)
207 eigen->insert(
i,read_pair);
213 XMLBufferWriter file_xml;
214 push(file_xml,
"SubsetVectors");
217 XMLBufferWriter record_xml;
218 push(record_xml,
"SubsetVectors");
224 QDPIO::cout <<
"Object successfully read: time= "
225 << swatch.getTimeInSeconds()
226 <<
" secs" << std::endl;
228 catch( std::bad_cast )
230 QDPIO::cerr <<
name <<
": cast error" << std::endl;
235 QDPIO::cerr <<
name <<
": error message: " << e << std::endl;
239 QDPIO::cout <<
name <<
": ran successfully" << std::endl;
Inline measurement factory.
Primary include file for CHROMA library code.
Class for counted reference semantics.
Inline reading of latticecolorvectors that are eigenvectors.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the writing.
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.
GroupXML_t readXMLGroup(XMLReader &xml_in, const std::string &path, const std::string &type_name)
Read group and return as a std::string.
Inline task to read an object from a named buffer.
Named object function std::map.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
bool registerAll()
aggregate everything
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
LinOpSysSolverMGProtoClover::T T
SubsetVectorWeight_t eigenValue
multi1d< std::string > file_names
struct Chroma::InlineEigenBinColVecReadNamedObjEnv::Params::File_t file
void writeXML(XMLWriter &xml_out, const std::string &path)
struct Chroma::InlineEigenBinColVecReadNamedObjEnv::Params::NamedObject_t named_obj
Holds of vectors and weights.