CHROMA
source_const_factory.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Factory for producing quark prop sources
4  */
5 
6 #ifndef __source_const_factory_w_h__
7 #define __source_const_factory_w_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 #include "chromabase.h"
13 
14 namespace Chroma
15 {
16  //! Propagator source factory (foundry)
17  /*! @ingroup sources */
18  typedef SingletonHolder<
19  ObjectFactory<QuarkSourceConstruction<LatticePropagator>,
21  TYPELIST_2(XMLReader&, const std::string&),
22  QuarkSourceConstruction<LatticePropagator>* (*)(XMLReader&,
23  const std::string&), StringFactoryError> >
25 
26 
27  //! Propagator source factory (foundry)
28  /*! @ingroup sources */
29  typedef SingletonHolder<
32  TYPELIST_2(XMLReader&, const std::string&),
36 
37 
38  //! Propagator source factory (foundry)
39  /*! @ingroup sources */
40  typedef SingletonHolder<
43  TYPELIST_2(XMLReader&, const std::string&),
47 
48 }
49 
50 
51 #endif
Primary include file for CHROMA library code.
Object factory class.
Definition: objfactory.h:82
Base class for quark source construction.
SingletonHolder< ObjectFactory< QuarkSourceConstruction< LatticeFermion >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSourceConstruction< LatticeFermion > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheFermSourceConstructionFactory
Propagator source factory (foundry)
SingletonHolder< ObjectFactory< QuarkSourceConstruction< LatticeStaggeredPropagator >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSourceConstruction< LatticeStaggeredPropagator > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheStagPropSourceConstructionFactory
Propagator source factory (foundry)
SingletonHolder< ObjectFactory< QuarkSourceConstruction< LatticePropagator >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSourceConstruction< LatticePropagator > *(*)(XMLReader &, const std::string &), StringFactoryError > > ThePropSourceConstructionFactory
Propagator source 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.
Singleton support.
Source construction.
#define TYPELIST_2(T1, T2)
Definition: typelist.h:43