CHROMA
periodic_gaugestate.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief Periodic gauge state and a creator
3  */
4 
9 
10 namespace Chroma
11 {
12 
13  /*! \ingroup gaugestates */
14  namespace CreatePeriodicGaugeStateEnv
15  {
17  multi1d<LatticeColorMatrix> >* createCreator(XMLReader& xml,
18  const std::string& path)
19  {
21  multi1d<LatticeColorMatrix> > ();
22  }
23 
24  const std::string name = "PERIODIC_GAUGE_STATE";
25 
26  //! Local registration flag
27  static bool registered = false;
28 
29  //! Register all the factories
30  bool registerAll()
31  {
32  bool success = true;
33  if (! registered)
34  {
36  registered = true;
37  }
38  return success;
39  }
40  }
41 
42 }
43 
Create a gauge connection state.
Definition: create_state.h:47
Create a periodic gauge connection state.
static T & Instance()
Definition: singleton.h:432
All gauge create-state method.
Gauge create state factory.
Gauge boundary condition aggregator.
CreateGaugeState< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createCreator(XMLReader &xml, const std::string &path)
bool registerAll()
Register all the factories.
static bool registered
Local registration flag.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Periodic gauge state and a creator.