CHROMA
ovext_tuning_strategy.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Ovext tuning strategy
4  */
5 
6 #ifndef ovext_tuning_strategy_h
7 #define ovext_tuning_strategy_h
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 
12 #include "chromabase.h"
13 
14 using namespace QDP;
15 
16 namespace Chroma
17 {
18  // Base class for tuning strategies. Only one public function: operator()
19 
20  //! Ovext tuning strategy
21  /*! @ingroup fermacts */
23  {
24  public:
25  // virtual destructor
26  virtual ~AbsOvExtTuningStrategy(void) {}
27 
28  // operator()
29  virtual void operator()(multi1d<Real>& beta,
30  const Real& coeffP,
31  const multi1d<Real>& resP,
32  const multi1d<Real>& resQ,
33  const Real& Mass) const = 0;
34  };
35 
36 
37  /*! @ingroup fermacts */
38  typedef SingletonHolder<
41  TYPELIST_2(XMLReader&, const std::string&),
42  AbsOvExtTuningStrategy* (*)(XMLReader&, const std::string&),
45 
46 }
47 
48 
49 #endif
Primary include file for CHROMA library code.
virtual void operator()(multi1d< Real > &beta, const Real &coeffP, const multi1d< Real > &resP, const multi1d< Real > &resQ, const Real &Mass) const =0
Object factory class.
Definition: objfactory.h:82
SingletonHolder< ObjectFactory< AbsOvExtTuningStrategy, std::string, TYPELIST_2(XMLReader &, const std::string &), AbsOvExtTuningStrategy *(*)(XMLReader &, const std::string &), StringFactoryError > > TheAbsOvExtTuningStrategyFactory
Real Mass
static const LatticeInteger & beta(const int dim)
Definition: stag_phases_s.h:47
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