CHROMA
eoprec_constdet_two_flavor_ratio_conv_rat_monomial5d_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! @file
3  * @brief Two-flavor collection of even-odd preconditioned 4D ferm monomials
4  */
5 
6 #ifndef __prec_two_flavor_ratio_conv_rat_monomial5d_w_h__
7 #define __prec_two_flavor_ratio_conv_rat_monomial5d_w_h__
8 
12 
13 namespace Chroma
14 {
15 
16  /*! @ingroup monomial */
17  namespace EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial5DEnv
18  {
19  bool registerAll();
20  }
21 
22 
23  //! Wrapper class for 2-flavor even-odd prec ferm monomials
24  /*! @ingroup monomial
25  *
26  * Monomial is expected to be the same for these fermacts
27  */
30  multi1d<LatticeColorMatrix>,
31  multi1d<LatticeColorMatrix>,
32  LatticeFermion>
33  {
34  public:
35  // Typedefs to save typing
36  typedef LatticeFermion T;
37  typedef multi1d<LatticeColorMatrix> P;
38  typedef multi1d<LatticeColorMatrix> Q;
39 
40  // Construct out of a parameter struct. Check against the desired FermAct name
42 
43  protected:
44 
45  multi1d<T>& getPhi(void) {
46  return phi;
47  }
48 
49  const multi1d<T>& getPhi(void) const {
50  return phi;
51  }
52 
54  return *chrono_predictor;
55  };
56 
57 
59  return *fermact_num;
60  }
61 
63  return *fermact_den;
64  }
65 
66 
67  //! Get parameters for the inverter
68  const GroupXML_t& getNumerInvParams() const {
69  return invParam_num;
70  }
71 
72  //! Get parameters for the inverter
73  const GroupXML_t& getDenomActionInvParams(void) const {
74  return actionInvParam_den;
75  }
76 
77  //! Get parameters for the inverter
78  const GroupXML_t& getDenomForceInvParams(void) const {
79  return forceInvParam_den;
80  }
81 
82  //! Return the partial fraction expansion for the force calc
83  const RemezCoeff_t& getDenomFPFE() const {return fpfe_den;}
84 
85  //! Return the partial fraction expansion for the action calc
86  const RemezCoeff_t& getDenomSPFE() const {return spfe_den;}
87 
88  //! Return the partial fraction expansion for the heat-bath
89  const RemezCoeff_t& getDenomSIPFE() const {return sipfe_den;}
90 
91  private:
92 
93  // Hide empty constructor and =
96 
97  // Pseudofermion field phi
98  multi1d<T> phi;
99 
101 
102  // A handle for the EvenOddPrecWilsonFermAct
104 
106 
107  // The parameters for the inversion
109 
110  // The parameters for the inversion
113 
114  // Coefficients and roots of partial fractions
118  };
119 
120 
121 } //end namespace chroma
122 
123 #endif
Abstract interface for a Chronological Solution predictor in 5D.
const RemezCoeff_t & getDenomFPFE() const
Return the partial fraction expansion for the force calc.
void operator=(const EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial5D &)
const RemezCoeff_t & getDenomSPFE() const
Return the partial fraction expansion for the action calc.
AbsChronologicalPredictor5D< T > & getMDSolutionPredictor(void)
Get the initial guess predictor.
const RemezCoeff_t & getDenomSIPFE() const
Return the partial fraction expansion for the heat-bath.
const EvenOddPrecConstDetWilsonTypeFermAct5D< T, P, Q > & getNumerFermAct() const
Get at fermion action.
Even-odd preconditioned Wilson-like fermion actions including derivatives.
Class for counted reference semantics.
Definition: handle.h:33
Exact 2 degen flavor even-odd preconditioned fermact monomial living in extra dimensions.
Field state.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
Hold group xml and type id.
Convenient structure to package Remez coeffs.
Definition: remez_coeff.h:19
Two flavor Monomials - gauge action or fermion binlinear contributions for HMC.
Two-flavor ratio of conventional fermion action monomial params.