13 XMLReader paramtop(xml, path);
15 #define defaultread(PARAM,DEFAULT) if (paramtop.count(#PARAM)) {read(paramtop, #PARAM, param.PARAM);} else {param.PARAM = DEFAULT;}
20 if (paramtop.count(
"Mass") > 0) {
27 if (paramtop.count(
"MassCrit") > 0) {
31 if (paramtop.count(
"KappaCrit") > 0) {
57 if (paramtop.count(
"Blocking")) {
69 #define defaultreadvec(PARAM,DEFAULT) if (paramtop.count(#PARAM)) { \
70 read(paramtop, #PARAM, param.PARAM); \
72 param.PARAM.resize(param.Levels); \
73 for (int l=0; l<param.Levels; l++) { \
74 param.PARAM[l] = DEFAULT; \
103 write(xml,
"invType",
"QDP_WILSON_MULTIGRID");
105 #define writeparam(PARAM) write(xml, #PARAM, param.PARAM)
157 read(xml, path, *
this);
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.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
Parameters for the external QDP multigrid inverter.
multi1d< multi1d< int > > Blocking
#define defaultread(PARAM, DEFAULT)
#define writeparam(PARAM)
#define defaultreadvec(PARAM, DEFAULT)
Parameters for the external QDP clover multigrid solver.