CHROMA
|
Solve a CG system. Here, the operator is NOT assumed to be hermitian. More...
#include <multi_syssolver_mdagm_cg_array.h>
Public Member Functions | |
MdagMMultiSysSolverCGArray (Handle< LinearOperatorArray< T > > A_, const MultiSysSolverCGParams &invParam_) | |
Constructor. More... | |
~MdagMMultiSysSolverCGArray () | |
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< multi1d< T > > &psi, const multi1d< Real > &shifts, const multi1d< T > &chi) const |
Solver the linear system. More... | |
Public Member Functions inherited from Chroma::MultiSystemSolverArray< T > | |
virtual | ~MultiSystemSolverArray () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
MdagMMultiSysSolverCGArray () | |
Private Attributes | |
Handle< LinearOperatorArray< T > > | A |
MultiSysSolverCGParams | invParam |
Solve a CG system. Here, the operator is NOT assumed to be hermitian.
Definition at line 32 of file multi_syssolver_mdagm_cg_array.h.
|
inline |
Constructor.
M_ | Linear operator ( Read ) |
invParam | inverter parameters ( Read ) |
Definition at line 40 of file multi_syssolver_mdagm_cg_array.h.
|
inline |
Destructor is automatic.
Definition at line 46 of file multi_syssolver_mdagm_cg_array.h.
|
inlineprivate |
Definition at line 92 of file multi_syssolver_mdagm_cg_array.h.
|
inlinevirtual |
Solver the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
Implements Chroma::MultiSystemSolverArray< T >.
Definition at line 60 of file multi_syssolver_mdagm_cg_array.h.
References Chroma::MdagMMultiSysSolverCGArray< T >::A, Chroma::chi(), Chroma::END_CODE(), Chroma::MdagMMultiSysSolverCGArray< T >::invParam, Chroma::MultiSysSolverCGParams::MaxCG, Chroma::MInvCG(), Chroma::SystemSolverResults_t::n_count, Chroma::psi, Chroma::MultiSysSolverCGParams::RsdCG, Chroma::RsdCG, and Chroma::START_CODE().
|
inlinevirtual |
Expected length of array index.
Implements Chroma::MultiSystemSolverArray< T >.
Definition at line 49 of file multi_syssolver_mdagm_cg_array.h.
References Chroma::MdagMMultiSysSolverCGArray< T >::A.
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::MultiSystemSolverArray< T >.
Definition at line 52 of file multi_syssolver_mdagm_cg_array.h.
References Chroma::MdagMMultiSysSolverCGArray< T >::A.
|
private |
Definition at line 94 of file multi_syssolver_mdagm_cg_array.h.
Referenced by Chroma::MdagMMultiSysSolverCGArray< T >::operator()(), Chroma::MdagMMultiSysSolverCGArray< T >::size(), and Chroma::MdagMMultiSysSolverCGArray< T >::subset().
|
private |
Definition at line 95 of file multi_syssolver_mdagm_cg_array.h.
Referenced by Chroma::MdagMMultiSysSolverCGArray< T >::operator()().