CHROMA
syssolver_polyprec_factory.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Factory for solving PolyPrec*psi=chi where PolyPrec is hermitian and pos. def.
4  */
5 
6 #ifndef __syssolver_polyprec_factory_h__
7 #define __syssolver_polyprec_factory_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
12 
13 namespace Chroma
14 {
15 
16  //! PolyPrec system solver factory (foundry)
17  /*! @ingroup invert */
18  typedef SingletonHolder<
19  ObjectFactory<PolyPrecSystemSolver<LatticeFermion>,
21  TYPELIST_3(XMLReader&, const std::string&, Handle< LinearOperator<LatticeFermion> >),
22  PolyPrecSystemSolver<LatticeFermion>* (*)(XMLReader&,
23  const std::string&,
24  Handle< LinearOperator<LatticeFermion> >),
25  StringFactoryError> >
27 
28 }
29 
30 
31 #endif
SingletonHolder< ObjectFactory< PolyPrecSystemSolver< LatticeFermion >, std::string, TYPELIST_3(XMLReader &, const std::string &, Handle< LinearOperator< LatticeFermion > >), PolyPrecSystemSolver< LatticeFermion > *(*)(XMLReader &, const std::string &, Handle< LinearOperator< LatticeFermion > >), StringFactoryError > > ThePolyPrecFermSystemSolverFactory
PolyPrec system solver 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.
Disambiguator for PolyPrec system solvers.
#define TYPELIST_3(T1, T2, T3)
Definition: typelist.h:45