CHROMA
polylinop.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*! @file
4  * @brief Polynomial Linear Operators
5  */
6 
7 #ifndef __polylinop_h__
8 #define __polylinop_h__
9 
10 #include "linearop.h"
11 
12 namespace Chroma
13 {
14 
15  //----------------------------------------------------------------
16  //! Polynomial linear operator including derivatives
17  /*! @ingroup linop
18  *
19  * Support for polynomial linear operators with derivative
20  */
21  template<typename T, typename P, typename Q>
22  class PolyLinearOperator : public DiffLinearOperator<T,P,Q>
23  {
24  public:
25  //! Virtual destructor to help with cleanup;
26  virtual ~PolyLinearOperator() {}
27 
28  //! Apply the A or A_dagger piece
29  virtual void applyA(T& chi, const T& psi, enum PlusMinus isign) const = 0;
30  };
31 
32 
33 }
34 
35 
36 
37 #endif
Differentiable Linear Operator.
Definition: linearop.h:98
Polynomial linear operator including derivatives.
Definition: polylinop.h:23
virtual void applyA(T &chi, const T &psi, enum PlusMinus isign) const =0
Apply the A or A_dagger piece.
virtual ~PolyLinearOperator()
Virtual destructor to help with cleanup;.
Definition: polylinop.h:26
Linear Operators.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > chi(Ncb)
LatticeFermion psi
Definition: mespbg5p_w.cc:35