16 template<
typename T,
typename P,
typename Q>
33 const Subset&
subset()
const {
return all;}
51 A->evenEvenInvLinOp(tmp1,
chi,
PLUS);
74 res.
resid = sqrt(norm2(
r));
91 typedef LatticeFermion
LF;
92 typedef multi1d<LatticeColorMatrix>
LCM;
102 QDPIO::cout <<
" ... constructing linop " ;
103 swatch2.reset(); swatch2.start();
106 QDPIO::cout <<
" ..." << swatch2.getTimeInSeconds() <<
" sec" << std::endl;
109 QDPIO::cout <<
" ... constructing invLinOp " ;
110 swatch2.reset(); swatch2.start();
113 QDPIO::cout <<
" ..." << swatch2.getTimeInSeconds() <<
" sec" << std::endl;
115 QDPIO::cout <<
" ... constructing PrecFermActQprop " ;
116 swatch2.reset(); swatch2.start();
119 QDPIO::cout <<
" ..." << swatch2.getTimeInSeconds() <<
" sec" << std::endl;
Even-odd preconditioned linear operator.
virtual SystemSolver< T > * qprop(Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
Return quark prop solver, solution of unpreconditioned system.
Support class for fermion actions and linear operators.
Class for counted reference semantics.
SystemSolver disambiguator.
Propagator of a generic even-odd preconditioned fermion linear operator.
PrecFermActQprop(Handle< EvenOddPrecLinearOperator< T, P, Q > > A_, Handle< LinOpSystemSolver< T > > invA_)
Constructor.
const Subset & subset() const
Return the subset on which the operator acts.
SystemSolverResults_t operator()(T &psi, const T &chi) const
Solver the linear system.
Handle< LinOpSystemSolver< T > > invA
Handle< EvenOddPrecLinearOperator< T, P, Q > > A
~PrecFermActQprop()
Destructor is automatic.
Even-odd preconditioned Wilson-like fermion actions.
Asqtad Staggered-Dirac operator.
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > chi(Ncb)
LatticeStaggeredFermion LF
multi1d< LatticeColorMatrix > LCM
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Hold group xml and type id.
Holds return info from SystemSolver call.