CHROMA
|
Solve a CG2 system. Here, the operator is NOT assumed to be hermitian. More...
#include <multi_syssolver_mdagm_cg.h>
Public Member Functions | |
MdagMMultiSysSolverCG (Handle< LinearOperator< T > > A_, const MultiSysSolverCGParams &invParam_) | |
Constructor. More... | |
~MdagMMultiSysSolverCG () | |
Destructor is automatic. More... | |
const Subset & | subset () const |
Return the subset on which the operator acts. More... | |
SystemSolverResults_t | operator() (multi1d< T > &psi, const multi1d< Real > &shifts, const T &chi) const |
Solver the linear system. More... | |
Public Member Functions inherited from Chroma::MultiSystemSolver< T > | |
virtual | ~MultiSystemSolver () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
MdagMMultiSysSolverCG () | |
Private Attributes | |
Handle< LinearOperator< T > > | A |
MultiSysSolverCGParams | invParam |
Solve a CG2 system. Here, the operator is NOT assumed to be hermitian.
Definition at line 33 of file multi_syssolver_mdagm_cg.h.
|
inline |
Constructor.
M_ | Linear operator ( Read ) |
invParam | inverter parameters ( Read ) |
Definition at line 41 of file multi_syssolver_mdagm_cg.h.
|
inline |
Destructor is automatic.
Definition at line 47 of file multi_syssolver_mdagm_cg.h.
|
inlineprivate |
Definition at line 108 of file multi_syssolver_mdagm_cg.h.
|
inlinevirtual |
Solver the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
Implements Chroma::MultiSystemSolver< T >.
Definition at line 58 of file multi_syssolver_mdagm_cg.h.
References Chroma::MdagMMultiSysSolverCG< T >::A, Chroma::chi(), Chroma::END_CODE(), Chroma::getXMLLogInstance(), Chroma::i, Chroma::MdagMMultiSysSolverCG< T >::invParam, Chroma::MultiSysSolverCGParams::MaxCG, Chroma::MINUS, Chroma::MInvCG2(), Chroma::SystemSolverResults_t::n_count, Chroma::PLUS, Chroma::pop(), Chroma::psi, Chroma::push(), Chroma::r, Chroma::MultiSysSolverCGParams::RsdCG, Chroma::RsdCG, Chroma::START_CODE(), tmp2, and Chroma::write().
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::MultiSystemSolver< T >.
Definition at line 50 of file multi_syssolver_mdagm_cg.h.
References Chroma::MdagMMultiSysSolverCG< T >::A.
|
private |
Definition at line 110 of file multi_syssolver_mdagm_cg.h.
Referenced by Chroma::MdagMMultiSysSolverCG< T >::operator()(), and Chroma::MdagMMultiSysSolverCG< T >::subset().
|
private |
Definition at line 111 of file multi_syssolver_mdagm_cg.h.
Referenced by Chroma::MdagMMultiSysSolverCG< T >::operator()().