CHROMA
lDeltaLs_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * Apply DeltaLs = (1/4)(1-eps^2) to a fermion field.
4 
5  */
6 
7 #ifndef __ldeltaLs_w_h__
8 #define __ldeltaLs_w_h__
9 
10 #include "linearop.h"
11 #include "handle.h"
12 
13 namespace Chroma
14 {
15 
16  //! GW Defect operator
17  /*! \ingroup linop */
18  class lDeltaLs: public LinearOperator<LatticeFermion>
19  {
20  public:
21  //! Creation routine
23  D(D_) {}
24 
25  //! Destructor is automatic
26  ~lDeltaLs() {}
27 
28  //! Only defined on the entire lattice
29  const Subset& subset() const {return all;}
30 
31  //! Apply the operator onto a source std::vector
32  void operator() (LatticeFermion& chi, const LatticeFermion& psi, enum PlusMinus isign) const;
33 
34  private:
36  };
37 
38 }
39 
40 
41 #endif
Class for counted reference semantics.
Definition: handle.h:33
Linear Operator.
Definition: linearop.h:27
GW Defect operator.
Definition: lDeltaLs_w.h:19
~lDeltaLs()
Destructor is automatic.
Definition: lDeltaLs_w.h:26
lDeltaLs(Handle< LinearOperator< LatticeFermion > > D_)
Creation routine.
Definition: lDeltaLs_w.h:22
Handle< LinearOperator< LatticeFermion > > D
Definition: lDeltaLs_w.h:35
const Subset & subset() const
Only defined on the entire lattice.
Definition: lDeltaLs_w.h:29
void operator()(LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const
Apply the operator onto a source std::vector.
Definition: lDeltaLs_w.cc:21
Class for counted reference semantics.
Linear Operators.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
multi1d< LatticeFermion > chi(Ncb)
LatticeFermion psi
Definition: mespbg5p_w.cc:35