CHROMA
|
Solve a CG system. Here, the operator is NOT assumed to be hermitian. More...
#include <multi_syssolver_mdagm_cg_accumulate_array.h>
Public Member Functions | |
MdagMMultiSysSolverCGAccumulateArray (Handle< LinearOperatorArray< T > > A_, const MultiSysSolverCGParams &invParam_) | |
Constructor. More... | |
~MdagMMultiSysSolverCGAccumulateArray () | |
Destructor is automatic. More... | |
int | size () const |
Expected length of array index. More... | |
const Subset & | subset () const |
Return the subset on which the operator acts. More... | |
SystemSolverResults_t | operator() (multi1d< T > &psi, const Real &norm, const multi1d< Real > &residues, const multi1d< Real > &poles, const multi1d< T > &chi) const |
Solver the linear system. More... | |
![]() | |
virtual | ~MultiSystemSolverAccumulateArray () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
MdagMMultiSysSolverCGAccumulateArray () | |
Private Attributes | |
Handle< LinearOperatorArray< T > > | A |
MultiSysSolverCGParams | invParam |
Solve a CG system. Here, the operator is NOT assumed to be hermitian.
Definition at line 34 of file multi_syssolver_mdagm_cg_accumulate_array.h.
|
inline |
Constructor.
M_ | Linear operator ( Read ) |
invParam | inverter parameters ( Read ) |
Definition at line 42 of file multi_syssolver_mdagm_cg_accumulate_array.h.
|
inline |
Destructor is automatic.
Definition at line 48 of file multi_syssolver_mdagm_cg_accumulate_array.h.
|
inlineprivate |
Definition at line 84 of file multi_syssolver_mdagm_cg_accumulate_array.h.
|
inlinevirtual |
Solver the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
Implements Chroma::MultiSystemSolverAccumulateArray< T >.
Definition at line 62 of file multi_syssolver_mdagm_cg_accumulate_array.h.
References Chroma::A(), chi, END_CODE, Chroma::MInvCGAccum(), Chroma::SystemSolverResults_t::n_count, norm, psi, Chroma::RsdCG, and START_CODE.
|
inline |
Expected length of array index.
Definition at line 51 of file multi_syssolver_mdagm_cg_accumulate_array.h.
References Chroma::A().
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::MultiSystemSolverAccumulateArray< T >.
Definition at line 54 of file multi_syssolver_mdagm_cg_accumulate_array.h.
References Chroma::A().
|
private |
Definition at line 86 of file multi_syssolver_mdagm_cg_accumulate_array.h.
|
private |
Definition at line 87 of file multi_syssolver_mdagm_cg_accumulate_array.h.