CHROMA
eoprec_constdet_two_flavor_multihasen_cancel_monomial_w.cc
Go to the documentation of this file.
1 /*! @file
2  * @brief cancel monomial for the multi-Hasenbusch term
3  * with shifted linop
4  */
5 
7 namespace Chroma
8 {
9  namespace EvenOddPrecConstDetTwoFlavorWilsonMultihasenCancelMonomialEnv
10  {
11  namespace
12  {
13  //! Callback function for the factory
15  multi1d<LatticeColorMatrix> >* createMonomial(XMLReader& xml, const std::string& path)
16  {
17  using T = LatticeFermion;
18  using P = multi1d<LatticeColorMatrix>;
19  using Q = multi1d<LatticeColorMatrix>;
20 
24  }
25  bool registered = false;
26  }
27 
28  const std::string name("TWO_FLAVOR_EOPREC_CONSTDET_MULTIHASEN_CANCEL_FERM_MONOMIAL");
29  bool registerAll()
30  {
31  bool success = true;
32  if(!registered)
33  {
35  success &= TheMonomialFactory::Instance().registerObject(name, createMonomial);
36  registered = true;
37  }
38  return success;
39  }
40  }
41 }
42 
43 
Even-odd preconditioned linear operator.
Definition: eoprec_linop.h:92
Even-odd preconditioned Wilson-like fermion actions including derivatives.
An abstract monomial class, for inexact algorithms.
Definition: abs_monomial.h:43
static T & Instance()
Definition: singleton.h:432
static bool registered
Local registration flag.
const std::string name("TWO_FLAVOR_EOPREC_CONSTDET_MULTIHASEN_CANCEL_FERM_MONOMIAL")
Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createMonomial(XMLReader &xml, const std::string &path)
Callback function for the factory.
multi1d< LatticeColorMatrix > P
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
LinOpSysSolverMGProtoClover::Q Q
LinOpSysSolverMGProtoClover::T T
::std::string string
Definition: gtest.h:1979
multi1d< LatticeColorMatrix > P
Definition: t_clover.cc:13