CHROMA
|
Solve a CG2 system. Here, the operator is NOT assumed to be hermitian. More...
#include <multi_syssolver_mdagm_cg_accumulate.h>
Public Member Functions | |
MdagMMultiSysSolverCGAccumulate (Handle< LinearOperator< T > > A_, const SysSolverCGParams &invParam_) | |
Constructor. More... | |
~MdagMMultiSysSolverCGAccumulate () | |
Destructor is automatic. More... | |
const Subset & | subset () const |
Return the subset on which the operator acts. More... | |
SystemSolverResults_t | operator() (T &psi, const Real &norm, const multi1d< Real > &residua, const multi1d< Real > &poles, const T &chi) const |
Solver the linear system. More... | |
Public Member Functions inherited from Chroma::MultiSystemSolverAccumulate< T > | |
virtual | ~MultiSystemSolverAccumulate () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
MdagMMultiSysSolverCGAccumulate () | |
Private Attributes | |
Handle< LinearOperator< T > > | A |
SysSolverCGParams | invParam |
Solve a CG2 system. Here, the operator is NOT assumed to be hermitian.
Definition at line 32 of file multi_syssolver_mdagm_cg_accumulate.h.
|
inline |
Constructor.
M_ | Linear operator ( Read ) |
invParam | inverter parameters ( Read ) |
Definition at line 40 of file multi_syssolver_mdagm_cg_accumulate.h.
|
inline |
Destructor is automatic.
Definition at line 46 of file multi_syssolver_mdagm_cg_accumulate.h.
|
inlineprivate |
Definition at line 91 of file multi_syssolver_mdagm_cg_accumulate.h.
|
inlinevirtual |
Solver the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
Implements Chroma::MultiSystemSolverAccumulate< T >.
Definition at line 57 of file multi_syssolver_mdagm_cg_accumulate.h.
References Chroma::MdagMMultiSysSolverCGAccumulate< T >::A, Chroma::chi(), Chroma::END_CODE(), Chroma::MdagMMultiSysSolverCGAccumulate< T >::invParam, Chroma::SysSolverCGParams::MaxCG, Chroma::MInvCG2Accum(), Chroma::SystemSolverResults_t::n_count, norm, Chroma::psi, Chroma::SysSolverCGParams::RsdCG, and Chroma::START_CODE().
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::MultiSystemSolverAccumulate< T >.
Definition at line 49 of file multi_syssolver_mdagm_cg_accumulate.h.
References Chroma::MdagMMultiSysSolverCGAccumulate< T >::A.
|
private |
Definition at line 93 of file multi_syssolver_mdagm_cg_accumulate.h.
Referenced by Chroma::MdagMMultiSysSolverCGAccumulate< T >::operator()(), and Chroma::MdagMMultiSysSolverCGAccumulate< T >::subset().
|
private |
Definition at line 94 of file multi_syssolver_mdagm_cg_accumulate.h.
Referenced by Chroma::MdagMMultiSysSolverCGAccumulate< T >::operator()().