CHROMA
schr_chromomag_fermbc_w.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief Schroedinger BC - chromo-magnetic ferm BC
3  */
4 
7 
8 namespace Chroma
9 {
10 
11  namespace SchrChromoMagFermBCEnv
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_CHROMOMAG_FERMBC";
23 
24  static bool registered = false;
25 
26  bool registerAll()
27  {
28  bool success = true;
29  if (! registered)
30  {
31  success &= TheWilsonTypeFermBCFactory::Instance().registerObject(name, createFermBC);
32  registered = true;
33  }
34  return success;
35  }
36  }
37 
38 }
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 - chromo-magnetic ferm BC.