CHROMA
unprec_one_flavor_rat_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_rat_monomial5d_w_h__
7 #define __unprec_one_flavor_rat_monomial5d_w_h__
8 
12 
13 namespace Chroma
14 {
15 
16  /*! @ingroup monomial */
17  namespace UnprecOneFlavorWilsonTypeFermRatMonomial5DEnv
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;
47  }
48 
49  //! Get parameters for the inverter
50  const GroupXML_t& getActionInvParams(void) const {
51  return actionInvParam;
52  }
53 
54  //! Get parameters for the inverter
55  const GroupXML_t& getForceInvParams(void) const {
56  return forceInvParam;
57  }
58 
59  //! Return number of roots in used
60  int getNPF() const {return num_pf;}
61 
62  //! Accessor for pseudofermion (read only)
63  const multi1d< multi1d<T> >& getPhi(void) const {return phi;}
64 
65  //! mutator for pseudofermion
66  multi1d< multi1d<T> >& getPhi(void) {return phi;}
67 
68  //! Return the partial fraction expansion for the force calc
69  const RemezCoeff_t& getFPFE() const {return fpfe;}
70 
71  //! Return the partial fraction expansion for the action calc
72  const RemezCoeff_t& getSPFE() const {return spfe;}
73 
74  //! Return the partial fraction expansion for the heat-bath
75  const RemezCoeff_t& getSIPFE() const {return sipfe;}
76 
77  private:
78  // Hide empty constructor and =
81 
82  // Pseudofermion field phi
83  multi1d< multi1d<T> > phi;
84 
85  // A handle for the UnprecWilsonFermAct
87 
88  // The parameters for the inversion
91 
92  // Number of nth-roots
93  int num_pf;
94 
95  // Coefficients and roots of partial fractions
99  };
100 
101 
102 } //end namespace chroma
103 
104 
105 
106 #endif
Class for counted reference semantics.
Definition: handle.h:33
Exact 1 flavor unpreconditioned fermact monomial living in extra dimensions.
Wrapper class for 5D 2-flavor unprec ferm monomials.
void operator=(const UnprecOneFlavorWilsonTypeFermRatMonomial5D &)
multi1d< multi1d< T > > & getPhi(void)
mutator for pseudofermion
const RemezCoeff_t & getFPFE() const
Return the partial fraction expansion for the force calc.
const GroupXML_t & getForceInvParams(void) const
Get parameters for the inverter.
Handle< const UnprecWilsonTypeFermAct5D< T, P, Q > > fermact
const RemezCoeff_t & getSPFE() const
Return the partial fraction expansion for the action calc.
const GroupXML_t & getActionInvParams(void) const
Get parameters for the inverter.
const RemezCoeff_t & getSIPFE() const
Return the partial fraction expansion for the heat-bath.
const UnprecWilsonTypeFermAct5D< T, P, Q > & getFermAct(void) const
Get at fermion action.
const multi1d< multi1d< T > > & getPhi(void) const
Accessor for pseudofermion (read only)
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 monomials using RHMC.
One-flavor monomial params.
Hold group xml and type id.
Convenient structure to package Remez coeffs.
Definition: remez_coeff.h:19