CHROMA
fermbc_factory_s.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Fermion Boundary Condition factories
4  */
5 
6 #ifndef __fermbc_factory_s_h__
7 #define __fermbc_factory_s_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 
12 #include "fermbc.h"
13 
14 
15 namespace Chroma
16 {
17  //! FermBC factory
18  /*! \ingroup fermbcs */
19  typedef SingletonHolder<
20  ObjectFactory<FermBC<LatticeStaggeredFermion,
21  multi1d<LatticeColorMatrix>,
22  multi1d<LatticeColorMatrix> >,
24  TYPELIST_2(XMLReader&, const std::string&),
25  FermBC<LatticeStaggeredFermion,
26  multi1d<LatticeColorMatrix>,
27  multi1d<LatticeColorMatrix> >* (*)(XMLReader&,
28  const std::string&),
29  StringFactoryError> >
31 
32 }
33 
34 
35 #endif
Fermion action boundary conditions.
SingletonHolder< ObjectFactory< FermBC< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, std::string, TYPELIST_2(XMLReader &, const std::string &), FermBC< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheStaggeredTypeFermBCFactory
FermBC factory.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::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