CHROMA
eoprec_constdet_two_flavor_ratio_conv_conv_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_conv_monomial5d_w_h__
7 #define __prec_two_flavor_ratio_conv_conv_monomial5d_w_h__
8 
12 
13 namespace Chroma
14 {
15 
16  /*! @ingroup monomial */
17  namespace EvenOddPrecConstDetTwoFlavorRatioConvConvWilsonTypeFermMonomial5DEnv
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() {
46  return phi;
47  }
48 
49  const multi1d<T>& getPhi() const {
50  return phi;
51  }
52 
54  return *fermact_num;
55  }
56 
58  return *fermact_den;
59  }
60 
61 
63  return *chrono_predictor;
64  };
65 
66  //! Get parameters for the inverter
67  const GroupXML_t getNumerInvParams() const {
68  return invParam_num;
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 
84 
85  // The parameters for the inversion
87 
89  };
90 
91 
92 } //end namespace chroma
93 
94 #endif
Abstract interface for a Chronological Solution predictor in 5D.
const EvenOddPrecConstDetWilsonTypeFermAct5D< T, P, Q > & getNumerFermAct() const
Get at fermion action.
const EvenOddPrecConstDetWilsonTypeFermAct5D< T, P, Q > & getDenomFermAct() const
Get at fermion action.
void operator=(const EvenOddPrecConstDetTwoFlavorRatioConvConvWilsonTypeFermMonomial5D &)
const multi1d< T > & getPhi() const
Accessor for pseudofermion with Pf index i (read only)
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.
Two flavor Monomials - gauge action or fermion binlinear contributions for HMC.
Two-flavor RatioConvConv monomial params.