16 template<
typename T,
typename P,
typename Q>
33 const Subset&
subset()
const {
return all;}
48 QDPIO::cout <<
"Diag Inv" << std::endl;
49 A->unprecEvenEvenInvLinOp(Mdiag_inv_chi,
chi,
PLUS);
50 A->unprecOddOddInvLinOp(Mdiag_inv_chi,
chi,
PLUS);
57 A->oddEvenLinOp(
tmp, Mdiag_inv_chi,
PLUS);
58 Mdiag_inv_chi[rb[1]] -=
tmp;
72 psi[rb[0]]=Mdiag_inv_chi;
94 res.
resid = sqrt(norm2(
r));
111 typedef LatticeFermion
LF;
112 typedef multi1d<LatticeColorMatrix>
LCM;
122 QDPIO::cout <<
" ... constructing linop " ;
123 swatch2.reset(); swatch2.start();
126 QDPIO::cout <<
" ..." << swatch2.getTimeInSeconds() <<
" sec" << std::endl;
129 QDPIO::cout <<
" ... constructing invLinOp " ;
130 swatch2.reset(); swatch2.start();
133 QDPIO::cout <<
" ..." << swatch2.getTimeInSeconds() <<
" sec" << std::endl;
135 QDPIO::cout <<
" ... constructing SymEvenOddPrecActQprop " ;
136 swatch2.reset(); swatch2.start();
139 QDPIO::cout <<
" ..." << swatch2.getTimeInSeconds() <<
" sec" << std::endl;
Support class for fermion actions and linear operators.
Class for counted reference semantics.
SystemSolver disambiguator.
Propagator of a generic symmetric even-odd preconditioned fermion linear operator.
SymEvenOddPrecActQprop(Handle< SymEvenOddPrecLinearOperator< T, P, Q > > A_, Handle< LinOpSystemSolver< T > > invA_)
Constructor.
Handle< LinOpSystemSolver< T > > invA
SystemSolverResults_t operator()(T &psi, const T &chi) const
Solver the linear system.
const Subset & subset() const
Return the subset on which the operator acts.
Handle< SymEvenOddPrecLinearOperator< T, P, Q > > A
~SymEvenOddPrecActQprop()
Destructor is automatic.
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.
Asqtad Staggered-Dirac operator.
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > chi(Ncb)
LatticeStaggeredFermion LF
multi1d< LatticeColorMatrix > LCM
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Symmetric even-odd preconditioned Wilson-like fermion actions.
Hold group xml and type id.
Holds return info from SystemSolver call.