CHROMA
monomial_factory.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Monomial factories
4  */
5 
6 #ifndef __monomial_factory_w_h__
7 #define __monomial_factory_w_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 #include "chromabase.h"
12 
14 
15 
16 
17 namespace Chroma
18 {
19  //! A factory for exact non-fermionic monomials
20  /*! @ingroup monomial */
21  typedef SingletonHolder<
24  multi1d<LatticeColorMatrix> >,
26  TYPELIST_2(XMLReader&, const std::string&),
27 
29  multi1d<LatticeColorMatrix> >* (*)(XMLReader&,
30  const std::string&),
33 
34 
35  /*
36  //! A factory for exact fermionic monomials
37  typedef SingletonHolder<
38  ObjectFactory<
39  ExactFermMonomial< multi1d<LatticeColorMatrix>,
40  multi1d<LatticeColorMatrix>,
41  LatticeFermion>,
42  std::string,
43  TYPELIST_2(XMLReader&, const std::string&),
44 
45  ExactFermMonomial< multi1d<LatticeColorMatrix>,
46  multi1d<LatticeColorMatrix>,
47  LatticeFermion>* (*)(XMLReader&,
48  const std::string&), StringFactoryError> >
49  TheExactFermMonomialFactory;
50  */
51 
52 } // End namespace Chroma
53 
54 
55 #endif
Monomials - gauge action or fermion binlinear contributions for HMC.
Primary include file for CHROMA library code.
An abstract monomial class, for inexact algorithms.
Definition: abs_monomial.h:43
Object factory class.
Definition: objfactory.h:82
SingletonHolder< ObjectFactory< Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, std::string, TYPELIST_2(XMLReader &, const std::string &), Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheMonomialFactory
A factory for exact non-fermionic monomials.
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