11 SysSolverMDWFParams::SysSolverMDWFParams(XMLReader& xml,
14 XMLReader paramtop(xml, path);
16 read(paramtop,
"MaxIter", MaxIter);
17 if( paramtop.count(
"MaxIterRestart") > 0 ) {
18 read(paramtop,
"MaxIterRestart", MaxIterRestart);
21 MaxIterRestart = MaxIter;
25 read(paramtop,
"RsdTarget", RsdTarget);
26 if( paramtop.count(
"RsdTargetRestart") > 0 ) {
27 read(paramtop,
"RsdTargetRestart", RsdTargetRestart);
30 RsdTargetRestart = RsdTarget;
36 if( (paramtop.count(
"c5") == 0) && (paramtop.count(
"b5") == 0) ) {
42 read(paramtop,
"b5", b5);
43 read(paramtop,
"c5", c5);
46 if ( paramtop.count(
"AnisoParam") > 0 ) {
47 read(paramtop,
"AnisoParam", anisoParam);
61 write(xml,
"MaxIter",
p.MaxIter);
62 write(xml,
"RsdTarget",
p.RsdTarget);
63 write(xml,
"MaxIterRestart",
p.MaxIterRestart);
64 write(xml,
"RsdTargetRestart",
p.RsdTargetRestart);
67 write(xml,
"Mass",
p.Mass);
68 write(xml,
"OverMass",
p.OverMass);
72 write(xml,
"AnisoParam",
p.anisoParam);
Primary include file for CHROMA library code.
Asqtad Staggered-Dirac operator.
void write(XMLWriter &xml, const std::string &path, const SysSolverMDWFParams &p)
void read(XMLReader &xml, const std::string &path, SysSolverMDWFParams &p)
push(xml_out,"Cooled_Topology")