29 XMLReader paramtop(xml, path);
32 if (paramtop.count(
"Mass") != 0)
35 if (paramtop.count(
"Kappa") != 0)
37 QDPIO::cerr <<
"Error: found both a Kappa and a Mass tag" << std::endl;
41 else if (paramtop.count(
"Kappa") != 0)
44 read(paramtop,
"Kappa", Kappa);
46 QDPIO::cout <<
"Kappa is " << Kappa <<
" Mass is " <<
Mass << std::endl << std::flush;
50 QDPIO::cerr <<
"Error: neither Mass or Kappa found" << std::endl;
55 if (paramtop.count(
"u0") != 0)
59 QDPIO::cout <<
"u0 is " <<
u0 << std::endl << std::flush;
62 if (paramtop.count(
"AnisoParam") != 0)
74 read(paramtop,
"clovCoeff", clovCoeff);
79 if( paramtop.count(
"MaxNorm") != 0 ){
81 QDPIO::cout <<
"MaxNorm="<<
max_norm<<std::endl;
91 if( paramtop.count(
"TwistedM") != 0 ) {
Primary include file for CHROMA library code.
Parameters for Clover fermion action.
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 clover ferm acts.
CloverFermActParams()
Default constructor.