CHROMA
mgproto_solver_params.h
Go to the documentation of this file.
1 /*
2  * mgproto_solver_params.h
3  *
4  * Created on: Mar 23, 2017
5  * Author: bjoo
6  */
7 
8 #ifndef LIB_ACTIONS_FERM_INVERT_MG_PROTO_MGPROTO_SOLVER_PARAMS_H
9 #define LIB_ACTIONS_FERM_INVERT_MG_PROTO_MGPROTO_SOLVER_PARAMS_H
10 
11 #include "chromabase.h"
12 #include "io/xml_group_reader.h"
14 
15 #include <string>
16 
17 using namespace QDP;
18 
19 namespace Chroma
20 {
21 
23 public:
25 
26  MGProtoSolverParams(XMLReader& xml, const std::string& path);
27 
28  // Clover Params
31  // Details of the NullSpace Construction
32  int MGLevels;
33  multi1d< multi1d<int> > Blocking;
34  multi1d< int > NullVecs;
35  multi1d< int > NullSolverMaxIters;
36  multi1d< Double > NullSolverRsdTarget;
37  multi1d< bool > NullSolverVerboseP;
38 
39  // Details of Outer Solver
44 
45  // VCycle Details (MGLevels - 1 of these)
46  // Presmoother
48  multi1d<Double> VCyclePreSmootherRsdTarget;
51 
52  // Post Smoother
54  multi1d<Double> VCyclePostSmootherRsdTarget;
57 
58  // Bottom Solver
61  multi1d<Double> VCycleBottomSolverRsdTarget;
63 
64  // VCycle Iterations/Target Residuum
65  multi1d<int> VCycleMaxIters;
66  multi1d<Double> VCycleRsdTarget;
67  multi1d<bool> VCycleVerboseP;
68 
70 
71 };
72 
73 void read(XMLReader& xml, const std::string& path, MGProtoSolverParams& p);
74 void write(XMLWriter& xml, const std::string& path, const MGProtoSolverParams& p);
75 
76 };
77 
78 
79 #endif
80 
81 
Primary include file for CHROMA library code.
Parameters for Clover fermion action.
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.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
FloatingPoint< double > Double
Definition: gtest.h:7351
::std::string string
Definition: gtest.h:1979
Params for clover ferm acts.
multi1d< multi1d< int > > Blocking
multi1d< Real > VCyclePreSmootherRelaxOmega
multi1d< Double > VCycleBottomSolverRsdTarget
multi1d< Real > VCyclePostSmootherRelaxOmega
Chroma::CloverFermActParams CloverParams
multi1d< Double > VCyclePostSmootherRsdTarget
multi1d< bool > VCycleBottomSolverVerboseP
multi1d< Double > VCyclePreSmootherRsdTarget
multi1d< bool > VCyclePostSmootherVerboseP
Read an XML group as a std::string.