CHROMA
quark_smearing.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*! @file
4  * @brief Quark smearing
5  */
6 
7 #ifndef __quark_smearing_h__
8 #define __quark_smearing_h__
9 
10 #include "chromabase.h"
11 
12 namespace Chroma
13 {
14  //! Base class for quark smearing
15  /*! @ingroup smear
16  *
17  * Supports smearing of quarks
18  */
19  template<typename T>
21  {
22  public:
23  //! Virtual destructor to help with cleanup;
24  virtual ~QuarkSmearing() {}
25 
26  //! Smear the quark
27  /*!
28  * \param obj Object to smear ( Modify )
29  * \param u Link field ( Read )
30  */
31  virtual void operator()(T& obj, const multi1d<LatticeColorMatrix>& u) const = 0;
32  };
33 
34 }
35 
36 
37 #endif
Primary include file for CHROMA library code.
Base class for quark smearing.
virtual void operator()(T &obj, const multi1d< LatticeColorMatrix > &u) const =0
Smear the quark.
virtual ~QuarkSmearing()
Virtual destructor to help with cleanup;.
Handle< MapObject< int, EVPair< LatticeColorVector > > > obj
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
LinOpSysSolverMGProtoClover::T T