CHROMA
eoprec_dwflike_linop_base_array_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Base class for even-odd preconditioned domain-wall-like linops
4  */
5 
6 #ifndef __prec_dwflike_linop_base_array_w_h__
7 #define __prec_dwflike_linop_base_array_w_h__
8 
10 
11 
12 namespace Chroma
13 {
14  //! 4D Even Odd preconditioned 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 } // End Namespace Chroma
45 
46 
47 #endif
Even-odd preconditioned linear operator including derivatives for arrays.
4D Even Odd preconditioned 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.
Preconditioned 4D Linop with Gauge Independent Even-Even part.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > chi(Ncb)
LatticeFermion psi
Definition: mespbg5p_w.cc:35