8 #ifndef PREC_STAGGERED_QPROP_H
9 #define PREC_STAGGERED_QPROP_H
23 template<
typename T,
typename P,
typename Q>
50 const Subset&
subset()
const {
return all;}
62 LatticeStaggeredFermion
tmp, tmp1,
tmp2;
84 invm = Real(1)/(2*
Mass);
111 res.
resid = sqrt(norm2(
r));
112 QDPIO::cout <<
"eoprec_staggered_qprop: true residual: " << res.
resid << std::endl;
Propagator of a generic even-odd fermion linear operator.
~EvenOddFermActQprop()
Destructor is automatic.
Handle< EvenOddLinearOperator< T, P, Q > > M
Handle< LinearOperator< T > > A
SystemSolverResults_t operator()(T &psi, const T &chi) const
Solver the linear system.
SysSolverCGParams invParam
EvenOddFermActQprop(const EvenOddStaggeredTypeFermAct< T, P, Q > &S_, Handle< FermState< T, P, Q > > state, const SysSolverCGParams &invParam_)
EvenOddFermActQprop(Handle< EvenOddLinearOperator< T, P, Q > > M_, Handle< LinearOperator< T > > A_, const Real &Mass_, const SysSolverCGParams &invParam_)
Constructor.
const Subset & subset() const
Return the subset on which the operator acts.
Even odd Linear Operator (for staggered like things )
Even-odd preconditioned Staggered-like fermion actions.
Support class for fermion actions and linear operators.
Class for counted reference semantics.
SystemSolverResults_t InvCG1(const LinearOperator< LatticeFermion > &A, const LatticeFermion &chi, LatticeFermion &psi, const Real &RsdCG, int MaxCG, int MinCG)
Conjugate-Gradient (CGNE) algorithm for a generic Linear Operator.
Conjugate-Gradient algorithm for a generic Linear Operator.
Asqtad Staggered-Dirac operator.
QDP_error_exit("too many BiCG iterations", n_count, rsd_sq, cp, c, re_rvr, im_rvr, re_a, im_a, re_b, im_b)
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > chi(Ncb)
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Staggered-like fermion actions.
Holds return info from SystemSolver call.