6 #ifndef __syssolver_polyprec_cg_h__
7 #define __syssolver_polyprec_cg_h__
21 namespace PolyPrecSysSolverCGEnv
49 const Subset&
subset()
const {
return A->subset();}
Class for counted reference semantics.
Solve a PolyPrec*psi=chi linear system by CG1.
~PolyPrecSysSolverCG()
Destructor is automatic.
SystemSolverResults_t operator()(T &psi, const T &chi) const
Solver the linear system.
PolyPrecSysSolverCG(Handle< LinearOperator< T > > A_, const SysSolverCGParams &invParam_)
Constructor.
Handle< LinearOperator< T > > A
SysSolverCGParams invParam
const Subset & subset() const
Return the subset on which the operator acts.
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.
Class for counted reference semantics.
Conjugate-Gradient algorithm for a generic Linear Operator.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > chi(Ncb)
SystemSolver disambiguator.
Holds return info from SystemSolver call.
Disambiguator for PolyPrec system solvers.