34 XMLReader inputtop(xml, path);
44 namespace RotateSpinObjCallMapEnv
49 struct DumbDisambiguator {};
60 TheRotateSpinObjFuncMap;
68 typedef LatticeFermion
T;
77 XMLReader input_file_xml, input_record_xml;
95 typedef LatticeFermion
T;
104 XMLReader input_file_xml, input_record_xml;
131 success &= TheRotateSpinObjFuncMap::Instance().registerFunction(
std::string(
"LatticeFermion:DR-to-Dirac"),
132 rotateDRtoDiracFerm);
133 success &= TheRotateSpinObjFuncMap::Instance().registerFunction(
std::string(
"LatticeFermion:Dirac-to-DR"),
134 rotateDRtoDiracFerm);
142 namespace InlineRotateSpinEnv
182 XMLReader paramtop(xml_in, path);
184 if (paramtop.count(
"Frequency") == 1)
194 QDPIO::cerr << __func__ <<
": caught Exception reading XML: " << e << std::endl;
218 push(xml_out,
"rotate_spin_object");
219 write(xml_out,
"update_no", update_no);
221 QDPIO::cout <<
name <<
": spin rotate an object of type "
232 catch (std::bad_cast)
234 QDPIO::cerr <<
name <<
": cast error"
240 QDPIO::cerr <<
name <<
": error message: " << e
245 QDPIO::cout <<
name <<
": ran successfully" << std::endl;
Inline measurement factory.
Primary include file for CHROMA library code.
Gauge transform a named object.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the writing.
Basis rotation matrix from Dirac to Degrand-Rossi (and reverse)
SpinMatrixD DiracToDRMat()
The Dirac to Degrand-Rossi spin transformation matrix (and reverse)
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.
Inline task to spin rotate to a Dirac basis.
Named object function std::map.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
SpinMatrix rotate_mat(adj(DiracToDRMat()))
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
LinOpSysSolverMGProtoClover::T T
struct Chroma::InlineRotateSpinEnv::Params::NamedObject_t named_obj
void writeXML(XMLWriter &xml_out, const std::string &path)
#define TYPELIST_2(T1, T2)