CHROMA
gaugebc_factory.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Gauge boundary condition factories
4  */
5 
6 #ifndef __gaugebc_factory_h__
7 #define __gaugebc_factory_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 #include "chromabase.h"
12 
13 #include "gaugebc.h"
14 
15 namespace Chroma
16 {
17 
18  //! GaugeAct Factory
19  /*! @ingroup gaugebcs */
20  typedef Chroma::SingletonHolder<
21  ObjectFactory<GaugeBC<multi1d<LatticeColorMatrix>, multi1d<LatticeColorMatrix> >,
23  TYPELIST_2(XMLReader&, const std::string&),
24  GaugeBC<multi1d<LatticeColorMatrix>,
25  multi1d<LatticeColorMatrix> >* (*)(XMLReader&, const std::string&),
26  StringFactoryError> >
28 
29  typedef Chroma::SingletonHolder<
30  ObjectFactory<GaugeBC<multi1d<LatticeColorMatrixF>, multi1d<LatticeColorMatrixF> >,
32  TYPELIST_2(XMLReader&, const std::string&),
34  multi1d<LatticeColorMatrixF> >* (*)(XMLReader&, const std::string&),
37 
38  typedef Chroma::SingletonHolder<
39  ObjectFactory<GaugeBC<multi1d<LatticeColorMatrixD>, multi1d<LatticeColorMatrixD> >,
41  TYPELIST_2(XMLReader&, const std::string&),
43  multi1d<LatticeColorMatrixD> >* (*)(XMLReader&, const std::string&),
46 } // end namespace Chroma
47 
48 
49 #endif
Primary include file for CHROMA library code.
Base class for all gauge action boundary conditions.
Definition: gaugebc.h:30
Object factory class.
Definition: objfactory.h:82
Gauge boundary conditions.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
Chroma::SingletonHolder< ObjectFactory< GaugeBC< multi1d< LatticeColorMatrixD >, multi1d< LatticeColorMatrixD > >, std::string, TYPELIST_2(XMLReader &, const std::string &), GaugeBC< multi1d< LatticeColorMatrixD >, multi1d< LatticeColorMatrixD > > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheGaugeBCDFactory
Chroma::SingletonHolder< ObjectFactory< GaugeBC< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, std::string, TYPELIST_2(XMLReader &, const std::string &), GaugeBC< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheGaugeBCFactory
GaugeAct Factory.
Chroma::SingletonHolder< ObjectFactory< GaugeBC< multi1d< LatticeColorMatrixF >, multi1d< LatticeColorMatrixF > >, std::string, TYPELIST_2(XMLReader &, const std::string &), GaugeBC< multi1d< LatticeColorMatrixF >, multi1d< LatticeColorMatrixF > > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheGaugeBCFFactory
::std::string string
Definition: gtest.h:1979
Factory class for objects from XML input.
Singleton support.
#define TYPELIST_2(T1, T2)
Definition: typelist.h:43