CHROMA
syssolver_quda_multigrid_wilson_params.h
Go to the documentation of this file.
1 #ifndef __SYSSOLVER_QUDA_MULTIGRID_WILSON_PARAMS_H__
2 #define __SYSSOLVER_QUDA_MULTIGRID_WILSON_PARAMS_H__
3 
4 #include "chromabase.h"
5 #include "io/xml_group_reader.h"
9 
10 #include <string>
11 #include "handle.h"
12 
13 namespace Chroma
14 {
15 
16 
18  SysSolverQUDAMULTIGRIDWilsonParams(XMLReader& xml, const std::string& path);
20  solverType=CG;
25  asymmetricP = false; //< Use asymmetric version of the linear operator
26  axialGaugeP = false; //< Fix Axial Gauge?
27  SilentFailP = false; //< If set to true ignore lack of convergence. Default is 'loud'
28  RsdToleranceFactor = Real(10); //< Tolerate if the solution achived is better (less) than rsdToleranceFactor*RsdTarget
29  tuneDslashP = false ; //< v0.3 autotune feature
30  verboseP = false;
31  MULTIGRIDParamsP = false;
32  Pipeline = 1;
33 
34  };
36  WilsonParams = p.WilsonParams;
37  AntiPeriodicT = p.AntiPeriodicT;
38  MaxIter = p.MaxIter;
39  RsdTarget = p.RsdTarget;
40  Delta = p.Delta;
41  solverType = p.solverType;
42  verboseP = p.verboseP;
43  asymmetricP = p.asymmetricP;
44  cudaPrecision = p.cudaPrecision;
45  cudaReconstruct = p.cudaReconstruct;
46  cudaSloppyPrecision = p.cudaSloppyPrecision;
47  cudaSloppyReconstruct = p.cudaSloppyReconstruct;
48  axialGaugeP = p.axialGaugeP;
49  SilentFailP = p.SilentFailP;
50  RsdToleranceFactor = p.RsdToleranceFactor;
51  tuneDslashP = p.tuneDslashP;
52  Pipeline=1;
53  MULTIGRIDParamsP = p.MULTIGRIDParamsP;
54  MULTIGRIDParams = p.MULTIGRIDParams;
55 
56  }
57 
58 
61  int MaxIter;
62  Real RsdTarget;
63  Real Delta;
65  bool verboseP;
75  int Pipeline;
77 
79 
80 
81  };
82 
83  void read(XMLReader& xml, const std::string& path, SysSolverQUDAMULTIGRIDWilsonParams& p);
84 
85  void write(XMLWriter& xml, const std::string& path,
87 
88 
89 
90 }
91 
92 #endif
93 
94 
Primary include file for CHROMA library code.
Class for counted reference semantics.
Definition: handle.h:33
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.
QudaSolverType
Quda Solver type.
Definition: enum_quda_io.h:21
QudaReconsType
Quda Gauge Reconstruct type.
Definition: enum_quda_io.h:77
QudaPrecisionType
Quda Precision type.
Definition: enum_quda_io.h:50
Class for counted reference semantics.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
@ RECONS_12
Definition: enum_quda_io.h:80
::std::string string
Definition: gtest.h:1979
SysSolverQUDAMULTIGRIDWilsonParams(const SysSolverQUDAMULTIGRIDWilsonParams &p)
Params for wilson ferm acts.
Wilson fermion action parameters.
Read an XML group as a std::string.