CHROMA
quark_smearing_factory.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Factory for producing quark smearing objects
4  */
5 
6 #ifndef __quark_smearing_factory_h__
7 #define __quark_smearing_factory_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 #include "chromabase.h"
13 
14 namespace Chroma
15 {
16  //! Quark smearing factory (foundry)
17  /*! \ingroup smear */
18  typedef SingletonHolder<
19  ObjectFactory<QuarkSmearing<LatticePropagator>,
21  TYPELIST_2(XMLReader&, const std::string&),
22  QuarkSmearing<LatticePropagator>* (*)(XMLReader&,
23  const std::string&), StringFactoryError> >
25 
26 
27  //! Quark smearing factory (foundry)
28  /*! \ingroup smear */
29  typedef SingletonHolder<
32  TYPELIST_2(XMLReader&, const std::string&),
36 
37 
38  //! Quark smearing factory (foundry)
39  /*! \ingroup smear */
40  typedef SingletonHolder<
43  TYPELIST_2(XMLReader&, const std::string&),
44  QuarkSmearing<LatticeFermion>* (*)(XMLReader&,
47 
48 
49  //! Quark smearing factory (foundry)
50  /*! \ingroup smear */
51  typedef SingletonHolder<
54  TYPELIST_2(XMLReader&, const std::string&),
55  QuarkSmearing<LatticeColorVector>* (*)(XMLReader&,
58 
59 }
60 
61 
62 #endif
Primary include file for CHROMA library code.
Object factory class.
Definition: objfactory.h:82
Base class for quark smearing.
SingletonHolder< ObjectFactory< QuarkSmearing< LatticeColorVector >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSmearing< LatticeColorVector > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheColorVecSmearingFactory
Quark smearing factory (foundry)
SingletonHolder< ObjectFactory< QuarkSmearing< LatticeFermion >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSmearing< LatticeFermion > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheFermSmearingFactory
Quark smearing factory (foundry)
SingletonHolder< ObjectFactory< QuarkSmearing< LatticePropagator >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSmearing< LatticePropagator > *(*)(XMLReader &, const std::string &), StringFactoryError > > ThePropSmearingFactory
Quark smearing factory (foundry)
SingletonHolder< ObjectFactory< QuarkSmearing< LatticeStaggeredPropagator >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSmearing< LatticeStaggeredPropagator > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheStagPropSmearingFactory
Quark smearing factory (foundry)
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Factory class for objects from XML input.
Quark smearing.
Singleton support.
#define TYPELIST_2(T1, T2)
Definition: typelist.h:43