CHROMA
unprec_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 unpreconditioned 4D ferm monomials
4  */
5 
6 #ifndef __unprec_two_flavor_ratio_conv_conv_monomial5d_w_h__
7 #define __unprec_two_flavor_ratio_conv_conv_monomial5d_w_h__
8 
12 
13 namespace Chroma
14 {
15 
16  /*! @ingroup monomial */
17  namespace UnprecTwoFlavorRatioConvConvWilsonTypeFermMonomial5DEnv
18  {
19  bool registerAll();
20  }
21 
22 
23  //! Wrapper class for 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 
45  multi1d<T>& getPhi() {
46  // If phi are changed we must reset the chrono predictor
47  return phi;
48  }
49 
50  const multi1d<T>& getPhi() const {
51  return phi;
52  }
53 
55  return *fermact_num;
56  }
57 
59  return *fermact_den;
60  }
61 
63  return *chrono_predictor;
64  }
65 
66  //! Do an inversion of the type
67  const GroupXML_t getNumerInvParams() const {
68  return invParam_num;
69  }
70 
71  private:
72  // Hide empty constructor and =
75 
76  // Pseudofermion field phi
77  multi1d<T> phi;
78 
79  // A handle for the UnprecWilsonFermAct
81 
82  // A handle for the UnprecWilsonFermAct
84 
85  // The parameters for the inversion
87 
88  // A handle for the chrono predictor
90  };
91 
92 
93 } //end namespace chroma
94 
95 
96 
97 #endif
Abstract interface for a Chronological Solution predictor in 5D.
Class for counted reference semantics.
Definition: handle.h:33
Exact 2 degen flavor unpreconditioned fermact monomial living in extra dimensions.
void operator=(const UnprecTwoFlavorRatioConvConvWilsonTypeFermMonomial5D &)
const multi1d< T > & getPhi() const
Accessor for pseudofermion with Pf index i (read only)
const UnprecWilsonTypeFermAct5D< T, P, Q > & getNumerFermAct() const
Get at fermion action.
const UnprecWilsonTypeFermAct5D< T, P, Q > & getDenomFermAct() const
Get at fermion action.
AbsChronologicalPredictor5D< T > & getMDSolutionPredictor()
Get the initial guess predictor.
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
Hold group xml and type id.
Two flavor Monomials - gauge action or fermion binlinear contributions for HMC.
Two-flavor RatioConvConv monomial params.