11 #if BASE_PRECISION == 32
12 #define QDP_Precision 'F'
13 #define QLA_Precision 'F'
14 #define toReal toFloat
15 #elif BASE_PRECISION == 64
16 #define QDP_Precision 'D'
17 #define QLA_Precision 'D'
18 #define toReal toDouble
23 #include "wilsonmg-interface.h"
30 namespace InlineEraseMGSpaceEnv
73 XMLReader inputtop(xml, path);
86 XMLReader paramtop(xml_in, path);
88 if (paramtop.count(
"Frequency") == 1)
98 QDPIO::cerr << __func__ <<
": caught Exception reading XML: " << e << std::endl;
122 push(xml_out,
"erase_mg_subspace");
123 write(xml_out,
"update_no", update_no);
125 QDPIO::cout <<
name <<
": object erase" << std::endl;
134 QDPIO::cout <<
"Calling QOP Destroy function" << std::endl;
135 MGP(destroy_subspace)(mg_subspace);
138 QDPIO::cout <<
"Attempting to delete from named object store" << std:: endl;
142 QDPIO::cout <<
"Object erased" << std::endl;
144 catch( std::bad_cast ) {
145 QDPIO::cerr <<
name <<
": cast error"
151 QDPIO::cerr <<
name <<
": error message: " << e
159 QDPIO::cout <<
name <<
": ran successfully" << std::endl;
Inline measurement factory.
Inline writing of memory objects.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the writing.
Inline task to erase a named mg space.
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.
push(xml_out,"Condensates")
struct Chroma::InlineEraseMGSpaceEnv::Params::NamedObject_t named_obj
void writeXML(XMLWriter &xml_out, const std::string &path)
struct MGP(Clover_Params) PC(g_param)