2 #ifndef __lopishift_h__
3 #define __lopishift_h__
12 template<
typename T,
typename C>
25 inline const Subset&
subset()
const {
return M->subset();}
27 virtual unsigned long nFlops()
const {
28 return M->nFlops() + 4*Nc*Ns*(
M->subset()).siteTable().size();
35 const Subset& sub =
M->subset();
38 tmp[sub] = Gamma(15)*timesI(
psi);
Class for counted reference semantics.
void operator()(T &chi, const T &psi, enum PlusMinus isign) const
Apply the operator onto a source std::vector.
virtual unsigned long nFlops() const
const Subset & subset() const
Subset comes from underlying operator.
lopishift(Handle< LinearOperator< T > > p, const C &s)
Handle< LinearOperator< T > > M
lopishift(LinearOperator< T > *p, const C &s)
Initialized from pointer.
Class for counted reference semantics.
SpinMatrix C()
C = Gamma(10)
Asqtad Staggered-Dirac operator.
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > chi(Ncb)
multi1d< LatticeFermion > s(Ncb)