CHROMA
eoprec_constdet_two_flavor_monomial5d_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*! @file
4  * @brief Two-flavor collection of even-odd preconditioned 5D ferm monomials
5  */
6 
7 #ifndef __prec_two_flavor_monomial5d_w_h__
8 #define __prec_two_flavor_monomial5d_w_h__
9 
13 
14 namespace Chroma
15 {
16 
17  /*! @ingroup monomial */
18  namespace EvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial5DEnv
19  {
20  bool registerAll();
21  }
22 
23 
24  //! Wrapper class for 5D 2-flavor even-odd prec ferm monomials
25  /*! @ingroup monomial
26  *
27  * Monomial is expected to be the same for these fermacts
28  */
31  multi1d<LatticeColorMatrix>,
32  multi1d<LatticeColorMatrix>,
33  LatticeFermion>
34  {
35  public:
36  // Typedefs to save typing
37  typedef LatticeFermion T;
38  typedef multi1d<LatticeColorMatrix> P;
39  typedef multi1d<LatticeColorMatrix> Q;
40 
41  // Construct out of a parameter struct. Check against the desired FermAct name
43 
44  // Copy Constructor
46 
47  protected:
48 
49  multi1d<T>& getPhi(void) {
50  return phi;
51  }
52 
53  const multi1d<T>& getPhi(void) const {
54  return phi;
55  }
56 
58  return *fermact;
59  }
60 
61  //! Get parameters for the inverter
62  const GroupXML_t& getInvParams(void) const {
63  return inv_param;
64  }
65 
67  return *chrono_predictor;
68  }
69 
70 
71  private:
72 
73  // Hide empty constructor and =
76 
77  // Pseudofermion field phi
78  multi1d<T> phi;
79 
80  // A handle for the EvenOddPrecWilsonFermAct
82 
83  // The parameters for the inversion
86  };
87 
88 
89 } //end namespace chroma
90 
91 #endif
Abstract interface for a Chronological Solution predictor in 5D.
Wrapper class for 5D 2-flavor even-odd prec ferm monomials.
const multi1d< T > & getPhi(void) const
Accessor for pseudofermion with Pf index i (read only)
const GroupXML_t & getInvParams(void) const
Get parameters for the inverter.
void operator=(const EvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial5D &)
multi1d< T > & getPhi(void)
Accessor for pseudofermion with Pf index i (read only)
AbsChronologicalPredictor5D< T > & getMDSolutionPredictor(void)
Get the initial guess predictor.
const EvenOddPrecConstDetWilsonTypeFermAct5D< T, P, Q > & getFermAct(void) const
Get at fermion action.
Handle< const EvenOddPrecConstDetWilsonTypeFermAct5D< T, P, Q > > fermact
EvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial5D(const EvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial5D &m)
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.
static int m[4]
Definition: make_seeds.cc:16
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
Hold group xml and type id.
Two flavor Monomials - gauge action or fermion binlinear contributions for HMC.
Two-flavor monomial params.