CHROMA
syssolver_mdwf_params.h
Go to the documentation of this file.
1 #ifndef __SYSSOLVER_MDWF_PARAMS_H__
2 #define __SYSSOLVER_MDWF_PARAMS_H__
3 
4 #include "chromabase.h"
5 #include "io/xml_group_reader.h"
6 #include <string>
7 #include "io/aniso_io.h"
8 
9 #include "handle.h"
10 
11 namespace Chroma
12 {
14  SysSolverMDWFParams(XMLReader& xml, const std::string& path);
16  // Default is shamir;
17  b5=Real(1);
18  c5=Real(0);
19  anisoParam.anisoP=false;
20  };
21 
23  MaxIter = p.MaxIter;
24  MaxIterRestart = p.MaxIterRestart;
25  RsdTarget = p.RsdTarget;
26  RsdTargetRestart = p.RsdTargetRestart;
27 
28  N5 = p.N5;
29  Mass = p.Mass;
30  OverMass = p.OverMass;
31  c5=p.c5;
32  b5=p.b5;
33  anisoParam = p.anisoParam;
34  }
35 
36  int MaxIter;
38 
39  Real RsdTarget;
41  int N5;
42  Real Mass;
43  Real OverMass;
44  Real c5;
45  Real b5;
47  };
48 
49  void read(XMLReader& xml, const std::string& path, SysSolverMDWFParams& p);
50 
51  void write(XMLWriter& xml, const std::string& path,
52  const SysSolverMDWFParams& param);
53 
54 
55 
56 }
57 
58 #endif
59 
60 
Anisotropy parameters.
Primary include file for CHROMA library code.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams &param)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams &param)
Writer parameters.
Class for counted reference semantics.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Parameters for anisotropy.
Definition: aniso_io.h:24
SysSolverMDWFParams(const SysSolverMDWFParams &p)
Read an XML group as a std::string.