CHROMA
|
Solve a PolyPrec*psi=chi linear system by CG1. More...
#include <syssolver_polyprec_cg.h>
Public Member Functions | |
PolyPrecSysSolverCG (Handle< LinearOperator< T > > A_, const SysSolverCGParams &invParam_) | |
Constructor. More... | |
~PolyPrecSysSolverCG () | |
Destructor is automatic. More... | |
const Subset & | subset () const |
Return the subset on which the operator acts. More... | |
SystemSolverResults_t | operator() (T &psi, const T &chi) const |
Solver the linear system. More... | |
![]() | |
virtual | ~SystemSolver () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
PolyPrecSysSolverCG () | |
Private Attributes | |
Handle< LinearOperator< T > > | A |
SysSolverCGParams | invParam |
Solve a PolyPrec*psi=chi linear system by CG1.
Definition at line 32 of file syssolver_polyprec_cg.h.
|
inline |
Constructor.
M_ | Linear operator ( Read ) |
invParam | inverter parameters ( Read ) |
Definition at line 40 of file syssolver_polyprec_cg.h.
|
inline |
Destructor is automatic.
Definition at line 46 of file syssolver_polyprec_cg.h.
|
inlineprivate |
Definition at line 74 of file syssolver_polyprec_cg.h.
|
inlinevirtual |
Solver the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
Implements Chroma::SystemSolver< T >.
Definition at line 57 of file syssolver_polyprec_cg.h.
References Chroma::PolyPrecSysSolverCG< T >::A, Chroma::chi(), Chroma::END_CODE(), Chroma::InvCG1(), Chroma::PolyPrecSysSolverCG< T >::invParam, Chroma::SysSolverCGParams::MaxCG, Chroma::MINUS, Chroma::psi, Chroma::SysSolverCGParams::RsdCG, and Chroma::START_CODE().
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::SystemSolver< T >.
Definition at line 49 of file syssolver_polyprec_cg.h.
References Chroma::PolyPrecSysSolverCG< T >::A.
|
private |
Definition at line 76 of file syssolver_polyprec_cg.h.
Referenced by Chroma::PolyPrecSysSolverCG< T >::operator()(), and Chroma::PolyPrecSysSolverCG< T >::subset().
|
private |
Definition at line 77 of file syssolver_polyprec_cg.h.
Referenced by Chroma::PolyPrecSysSolverCG< T >::operator()().