CHROMA
schr_coupling_fermbc_w.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief Schroedinger BC - use for coupling determinations
3  */
4 
7 
8 namespace Chroma
9 {
10 
11  namespace SchrCouplingFermBCEnv
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_COUPLING_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 
40 }
Base class for all fermion action boundary conditions.
Definition: fermbc.h:20
Concrete class for Schroedinger BC - use for coupling determination.
Concrete class for Schroedinger BC - use for coupling determination.
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 coupling determinations.