CHROMA
eoprec_constdet_constgauge_one_flavor_rat_monomial_w.cc
Go to the documentation of this file.
1 //
2 /*! @file
3  * @brief One-flavor collection of even-odd preconditioned 4D ferm monomials
4  */
5 
8 
11 
14 
15 namespace Chroma
16 {
17 
18  namespace EvenOddPrecConstDetConstGaugeOneFlavorWilsonTypeFermRatMonomialEnv
19  {
20  namespace
21  {
22  //! Callback
24  multi1d<LatticeColorMatrix> >* createMonomial(XMLReader& xml, const std::string& path)
25  {
28  }
29 
30  //! Local registration flag
31  bool registered = false;
32  }
33 
34  const std::string name("ONE_FLAVOR_EOPREC_CONSTDET_CONSTGAUGE_FERM_RAT_MONOMIAL");
35 
36  //! Register all the factories
37  bool registerAll()
38  {
39  bool success = true;
40  if (! registered)
41  {
44  success &= TheMonomialFactory::Instance().registerObject(name, createMonomial);
45  registered = true;
46  }
47  return success;
48  }
49  } //end namespace EvenOddPrec OneFlavorWilsonFermRatMonomialEnv
50 
51 } //end namespace Chroma
52 
53 
An abstract monomial class, for inexact algorithms.
Definition: abs_monomial.h:43
static T & Instance()
Definition: singleton.h:432
One-flavor collection of even-odd preconditioned 4D ferm monomials.
Fermion action factories.
All Wilson-type fermion actions.
Monomial factories.
static bool registered
Local registration flag.
const std::string name("ONE_FLAVOR_EOPREC_CONSTDET_CONSTGAUGE_FERM_RAT_MONOMIAL")
Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createMonomial(XMLReader &xml, const std::string &path)
Callback function for the factory.
bool registerAll()
Register all the factories.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Rational approximation aggregator.
Rational approximation factories.