13 MultiSysSolverQPhiXCloverParams::MultiSysSolverQPhiXCloverParams(XMLReader& xml,
16 XMLReader paramtop(xml, path);
18 read(paramtop,
"MaxIter", MaxIter);
19 read(paramtop,
"MaxShifts", MaxShifts);
20 read(paramtop,
"RsdTarget", RsdTarget);
21 read(paramtop,
"CloverParams", CloverParams);
22 read(paramtop,
"AntiPeriodicT", AntiPeriodicT);
24 if ( paramtop.count(
"Verbose") > 0 ) {
25 read(paramtop,
"Verbose", VerboseP);
31 if ( paramtop.count(
"SolutionCheck") > 0 ) {
32 read(paramtop,
"SolutionCheck", SolutionCheckP);
35 SolutionCheckP =
true;
38 if (paramtop.count(
"Delta") > 0 ) {
39 read(paramtop,
"Delta", Delta);
46 if( paramtop.count(
"RsdToleranceFactor") > 0 ) {
47 read(paramtop,
"RsdToleranceFactor", RsdToleranceFactor);
50 RsdToleranceFactor = Real(10);
65 write(xml,
"MaxIter",
p.MaxIter);
69 if( toBool(
p.Delta > 0 ) ) {
70 write(xml,
"Delta",
p.Delta);
72 write(xml,
"MaxShifts",
p.MaxShifts);
73 write(xml,
"RsdTarget",
p.RsdTarget);
74 write(xml,
"Verbose",
p.VerboseP);
75 write(xml,
"SolutionCheck",
p.SolutionCheckP);
76 write(xml,
"CloverParams",
p.CloverParams);
77 write(xml,
"AntiPeriodicT",
p.AntiPeriodicT);
78 write(xml,
"RsdToleranceFactor",
p.RsdToleranceFactor);
Primary include file for CHROMA library code.
Asqtad Staggered-Dirac operator.
void write(XMLWriter &xml, const std::string &path, const MultiSysSolverQPhiXCloverParams &p)
void read(XMLReader &xml, const std::string &path, MultiSysSolverQPhiXCloverParams &p)
push(xml_out,"Cooled_Topology")
Read an XML group as a std::string.