CHROMA
schr_nonpert_fermbc_w.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief Schroedinger BC - use for non-pertubative tuning of clover action
3  */
4 
7 
8 namespace Chroma
9 {
10 
11  namespace SchrNonPertFermBCEnv
12  {
13  //! Callback function to register with the factory
14  FermBC<LatticeFermion,
15  multi1d<LatticeColorMatrix>,
16  multi1d<LatticeColorMatrix> >* createFermBC(XMLReader& xml, const std::string& path)
17  {
19  SchrFermBCParams(xml, path));
20  }
21 
22  const std::string name = "SCHROEDINGER_NONPERT_FERMBC";
23 
24  static bool registered = false;
25 
26  // Register all objects
27  bool registerAll()
28  {
29  bool success = true;
30  if (! registered)
31  {
32  success &= TheWilsonTypeFermBCFactory::Instance().registerObject(name, createFermBC);
33  registered = true;
34  }
35  return success;
36  }
37  }
38 
39 }
Base class for all fermion action boundary conditions.
Definition: fermbc.h:20
Concrete class for Schroedinger BC - use for nonpertubative tuning.
Concrete class for Schroedinger BC - use for nonpertubative tuning.
static T & Instance()
Definition: singleton.h:432
Fermion Boundary Condition factories.
FermBC< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFermBC(XMLReader &xml, const std::string &path)
Callback function to register with the factory.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Schroedinger BC - use for non-pertubative tuning of clover action.