CHROMA
unprec_two_flavor_monomial5d_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*! @file
4  * @brief Two-flavor collection of unpreconditioned 5D ferm monomials
5  */
6 
7 #ifndef __unprec_two_flavor_monomial5d_w_h__
8 #define __unprec_two_flavor_monomial5d_w_h__
9 
13 
14 namespace Chroma
15 {
16 
17  /*! @ingroup monomial */
18  namespace UnprecTwoFlavorWilsonTypeFermMonomial5DEnv
19  {
20  bool registerAll();
21  }
22 
23 
24  //! Wrapper class for 5D 2-flavor unprec 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  protected:
45 
46  multi1d<T>& getPhi(void) {
47  return phi;
48  }
49 
50  const multi1d<T>& getPhi(void) const {
51  return phi;
52  }
53 
55  return *fermact;
56  }
57 
58  //! Get parameters for the inverter
59  const GroupXML_t& getInvParams(void) const {
60  return inv_param;
61  }
62 
64  return *chrono_predictor;
65  }
66 
67  private:
68  // Hide empty constructor and =
71 
72  // Pseudofermion field phi
73  multi1d<T> phi;
74 
75  // A handle for the UnprecWilsonFermAct
77 
78  // The parameters for the inversion
80 
81  // Chrono Predictor
83  };
84 
85 
86 } //end namespace chroma
87 
88 
89 
90 #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.
Wrapper class for 5D 2-flavor unprec ferm monomials.
const GroupXML_t & getInvParams(void) const
Get parameters for the inverter.
const UnprecWilsonTypeFermAct5D< T, P, Q > & getFermAct(void) const
Get at fermion action.
Handle< const UnprecWilsonTypeFermAct5D< T, P, Q > > fermact
Handle< AbsChronologicalPredictor5D< T > > chrono_predictor
const multi1d< T > & getPhi(void) const
Accessor for pseudofermion with Pf index i (read only)
AbsChronologicalPredictor5D< T > & getMDSolutionPredictor(void)
Get the initial guess predictor.
void operator=(const UnprecTwoFlavorWilsonTypeFermMonomial5D &)
multi1d< T > & getPhi(void)
Accessor for pseudofermion with Pf index i (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
Hold group xml and type id.
Two flavor Monomials - gauge action or fermion binlinear contributions for HMC.
Two-flavor monomial params.