6 #ifndef __syssolver_linop_mr_h__
7 #define __syssolver_linop_mr_h__
21 namespace LinOpSysSolverMREnv
49 const Subset&
subset()
const {
return A->subset();}
Class for counted reference semantics.
Solve a M*psi=chi linear system by MR.
const Subset & subset() const
Return the subset on which the operator acts.
~LinOpSysSolverMR()
Destructor is automatic.
LinOpSysSolverMR(Handle< LinearOperator< T > > A_, const SysSolverMRParams &invParam_)
Constructor.
SysSolverMRParams invParam
SystemSolverResults_t operator()(T &psi, const T &chi) const
Solver the linear system.
Handle< LinearOperator< T > > A
SystemSolver disambiguator.
SystemSolverResults_t InvMR(const LinearOperator< LatticeFermion > &M, const LatticeFermion &chi, LatticeFermion &psi, const Real &MRovpar, const Real &RsdMR, int MaxMR, enum PlusMinus isign)
Minimal-residual (MR) algorithm for a generic Linear Operator.
Class for counted reference semantics.
Minimal-Residual (MR) for a generic fermion Linear Operator.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > chi(Ncb)
Holds return info from SystemSolver call.
Disambiguator for LinOp system solvers.