22 XMLReader paramtop(xml, path);
25 if (paramtop.count(
"Mass") != 0)
28 if (paramtop.count(
"Kappa") != 0)
30 QDPIO::cerr <<
"Error: found both a Kappa and a Mass tag" << std::endl;
34 else if (paramtop.count(
"Kappa") != 0)
37 read(paramtop,
"Kappa", Kappa);
42 QDPIO::cerr <<
"Error: neither Mass or Kappa found" << std::endl;
47 if (paramtop.count(
"AnisoParam") != 0)
Primary include file for CHROMA library code.
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.
Real kappaToMass(const Real &Kappa)
Convert a Kappa to a mass.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
Various parameter structs and reader/writers.
Params for wilson ferm acts.
WilsonFermActParams()
Default constructor.
Wilson fermion action parameters.