CHROMA
syssolver_quda_nef_params.h
Go to the documentation of this file.
1 #ifndef __SYSSOLVER_QUDA_CLOVER_MDWF_PARAMS_H__
2 #define __SYSSOLVER_QUDA_CLOVER_MDWF_PARAMS_H__
3 
4 #include "chromabase.h"
5 #include "io/xml_group_reader.h"
6 
10 #include <string>
11 #include "handle.h"
12 
13 namespace Chroma
14 {
16  SysSolverQUDANEFParams(XMLReader& xml, const std::string& path);
18  solverType=CG;
23  asymmetricP = false; //< Use asymmetric version of the linear operator
24  axialGaugeP = false; //< Fix Axial Gauge?
25  SilentFailP = false; //< If set to true ignore lack of convergence. Default is 'loud'
26  RsdToleranceFactor = Real(10); //< Tolerate if the solution achived is better (less) than rsdToleranceFactor*RsdTarget
27  tuneDslashP = false ; //< v0.3 autotune feature
28  verboseP = false;
29  innerParamsP = false;
30  backup_invP = false;
31  dump_on_failP = false;
32  cgnrP=false;
33  Pipeline=0;
34  };
35 
37  NEFParams = p.NEFParams;
38  AntiPeriodicT = p.AntiPeriodicT;
39  MaxIter = p.MaxIter;
40  RsdTarget = p.RsdTarget;
41  Delta = p.Delta;
42  solverType = p.solverType;
43  verboseP = p.verboseP;
44  asymmetricP = p.asymmetricP;
45  cudaPrecision = p.cudaPrecision;
46  cudaReconstruct = p.cudaReconstruct;
47  cudaSloppyPrecision = p.cudaSloppyPrecision;
48  cudaSloppyReconstruct = p.cudaSloppyReconstruct;
49  axialGaugeP = p.axialGaugeP;
50  SilentFailP = p.SilentFailP;
51  RsdToleranceFactor = p.RsdToleranceFactor;
52  tuneDslashP = p.tuneDslashP;
53  innerParamsP = p.innerParamsP;
54  innerParams = p.innerParams;
55  backup_invP = p.backup_invP;
56  backup_inv_param = p.backup_inv_param;
57  dump_on_failP = p.dump_on_failP;
58  cgnrP= p.cgnrP;
59  Pipeline = p.Pipeline;
60  }
61 
62 
65  int MaxIter;
66  Real RsdTarget;
67  Real Delta;
69  bool verboseP;
80 
81  // GCR Specific params
82  // Params for the preconditioner
84 
85  // XML for Backup Solver
89  bool cgnrP;
90  int Pipeline;
91 
92  };
93 
94  void read(XMLReader& xml, const std::string& path, SysSolverQUDANEFParams& p);
95 
96  void write(XMLWriter& xml, const std::string& path,
97  const SysSolverQUDANEFParams& param);
98 
99 
100 
101 }
102 
103 #endif
104 
105 
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
Parameters for Clover fermion action.
Hold group xml and type id.
Params for clover ferm acts.
Handle< GCRInnerSolverParams > innerParams
SysSolverQUDANEFParams(const SysSolverQUDANEFParams &p)
Read an XML group as a std::string.