CHROMA
source_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 __source_smearing_factory_h__
7 #define __source_smearing_factory_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 #include "chromabase.h"
13 
14 namespace Chroma
15 {
16  //! Propagator source smearing factory (foundry)
17  /*! @ingroup sources */
18  typedef SingletonHolder<
19  ObjectFactory<QuarkSourceSink<LatticePropagator>,
21  TYPELIST_3(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&),
22  QuarkSourceSink<LatticePropagator>* (*)(XMLReader&,
23  const std::string&,
24  const multi1d<LatticeColorMatrix>&),
25  StringFactoryError> >
27 
28 
29  //! Propagator source smearing factory (foundry)
30  /*! @ingroup sources */
31  typedef SingletonHolder<
34  TYPELIST_3(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&),
36  const std::string&,
37  const multi1d<LatticeColorMatrix>&),
40 
41 
42  //! Propagator source smearing factory (foundry)
43  /*! @ingroup sources */
44  typedef SingletonHolder<
47  TYPELIST_3(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&),
48  QuarkSourceSink<LatticeFermion>* (*)(XMLReader&,
49  const std::string&,
50  const multi1d<LatticeColorMatrix>&),
53 
54 }
55 
56 
57 #endif
Primary include file for CHROMA library code.
Object factory class.
Definition: objfactory.h:82
Base class for quark source and sink smearing.
SingletonHolder< ObjectFactory< QuarkSourceSink< LatticePropagator >, std::string, TYPELIST_3(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), QuarkSourceSink< LatticePropagator > *(*)(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), StringFactoryError > > ThePropSourceSmearingFactory
Propagator source smearing factory (foundry)
SingletonHolder< ObjectFactory< QuarkSourceSink< LatticeStaggeredPropagator >, std::string, TYPELIST_3(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), QuarkSourceSink< LatticeStaggeredPropagator > *(*)(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), StringFactoryError > > TheStagPropSourceSmearingFactory
Propagator source smearing factory (foundry)
SingletonHolder< ObjectFactory< QuarkSourceSink< LatticeFermion >, std::string, TYPELIST_3(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), QuarkSourceSink< LatticeFermion > *(*)(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), StringFactoryError > > TheFermSourceSmearingFactory
Propagator source 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 source or sink smearing.
Singleton support.
#define TYPELIST_3(T1, T2, T3)
Definition: typelist.h:45