CHROMA
unprec_one_flavor_ratio_rat_conv_monomial5d_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! @file
3  * @brief One-flavor collection of unpreconditioned 5D ferm monomials
4  */
5 
6 #ifndef __unprec_one_flavor_ratio_rat_conv_monomial5d_w_h__
7 #define __unprec_one_flavor_ratio_rat_conv_monomial5d_w_h__
8 
12 
13 namespace Chroma
14 {
15 
16  /*! @ingroup monomial */
17  namespace UnprecOneFlavorWilsonTypeFermRatioRatConvMonomial5DEnv
18  {
19  bool registerAll();
20  }
21 
22 
23  //! Wrapper class for 5D 2-flavor unprec 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 
46  return *fermact_num;
47  }
48 
50  return *fermact_den;
51  }
52 
53  //! Get parameters for the inverter
54  const GroupXML_t& getNumerActionInvParams(void) const {
55  return actionInvParam_num;
56  }
57 
58  //! Get parameters for the inverter
59  const GroupXML_t& getNumerForceInvParams(void) const {
60  return forceInvParam_num;
61  }
62 
63  //! Return number of roots in used
64  int getNPF() const {return num_pf;}
65 
66  //! Accessor for pseudofermion (read only)
67  const multi1d< multi1d<T> >& getPhi(void) const {return phi;}
68 
69  //! mutator for pseudofermion
70  multi1d< multi1d<T> >& getPhi(void) {return phi;}
71 
72  //! Return the partial fraction expansion for the force calc
73  const RemezCoeff_t& getNumerFPFE() const {return fpfe_num;}
74 
75  //! Return the partial fraction expansion for the action calc
76  const RemezCoeff_t& getNumerSPFE() const {return spfe_num;}
77 
78  //! Return the partial fraction expansion for the heat-bath
79  const RemezCoeff_t& getNumerSIPFE() const {return sipfe_num;}
80 
81  private:
82  // Hide empty constructor and =
85 
86  // Pseudofermion field phi
87  multi1d< multi1d<T> > phi;
88 
89  // A handle for the UnprecWilsonFermAct
92 
93  // The parameters for the inversion
96 
97  // Number of nth-roots
98  int num_pf;
99 
100  // Coefficients and roots of partial fractions
104  };
105 
106 
107 } //end namespace chroma
108 
109 
110 
111 #endif
Class for counted reference semantics.
Definition: handle.h:33
Exact 1 flavor unpreconditioned fermact monomial living in extra dimensions.
const UnprecWilsonTypeFermAct5D< T, P, Q > & getDenomFermAct(void) const
Get at fermion action.
const GroupXML_t & getNumerActionInvParams(void) const
Get parameters for the inverter.
void operator=(const UnprecOneFlavorWilsonTypeFermRatioRatConvMonomial5D &)
const multi1d< multi1d< T > > & getPhi(void) const
Accessor for pseudofermion (read only)
const RemezCoeff_t & getNumerSIPFE() const
Return the partial fraction expansion for the heat-bath.
const RemezCoeff_t & getNumerSPFE() const
Return the partial fraction expansion for the action calc.
const RemezCoeff_t & getNumerFPFE() const
Return the partial fraction expansion for the force calc.
const UnprecWilsonTypeFermAct5D< T, P, Q > & getNumerFermAct(void) const
Get at fermion action.
const GroupXML_t & getNumerForceInvParams(void) const
Get parameters for the inverter.
Unpreconditioned Wilson-like fermion actions in extra dims with derivatives.
Definition: fermact.orig.h:571
Field state.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
One flavor ratio of rational monomials using RHMC.
One-flavor ratio of determinants rational monomial params.
Hold group xml and type id.
Convenient structure to package Remez coeffs.
Definition: remez_coeff.h:19