CHROMA
unprec_dwflike_linop_base_array_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Base class for unpreconditioned domain-wall-like fermion linear operator
4  */
5 
6 #ifndef __unprec_dwflike_linop_base_array_w_h__
7 #define __unprec_dwflike_linop_base_array_w_h__
8 
9 #include "linearop.h"
10 
11 
12 namespace Chroma
13 {
14  //! Unpreconditioned domain-wall Dirac operator
15  /*!
16  * \ingroup linop
17  *
18  * This routine is specific to Wilson fermions!
19  */
20  template<typename T, typename P, typename Q>
22  {
23  public:
24  //! Length of DW flavor index/space
25  virtual int size() const = 0;
26 
27 #if 0
28  //! Apply the Dplus operator on a lattice fermion.
29  virtual
30  void Dplus(T& chi,
31  const T& psi,
32  enum PlusMinus isign,
33  int s5) const = 0;
34 #endif
35 
36  //! Apply the Dminus operator on a lattice fermion.
37  virtual
38  void Dminus(T& chi,
39  const T& psi,
40  enum PlusMinus isign,
41  int s5) const = 0;
42  };
43 
44 }
45 
46 
47 #endif
Unpreconditioned domain-wall Dirac operator.
virtual int size() const =0
Length of DW flavor index/space.
virtual void Dminus(T &chi, const T &psi, enum PlusMinus isign, int s5) const =0
Apply the Dminus operator on a lattice fermion.
Unpreconditioned linear operator including derivatives.
Definition: linearop.h:203
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