CHROMA
|
Solve a CG2 system. Here, the operator is NOT assumed to be hermitian. More...
#include <syssolver_mdagm_cg_timing.h>
Public Member Functions | |
MdagMSysSolverCGTimings (Handle< LinearOperator< T > > A_, const SysSolverCGParams &invParam_) | |
Constructor. More... | |
~MdagMSysSolverCGTimings () | |
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... | |
SystemSolverResults_t | operator() (T &psi, const T &chi, AbsChronologicalPredictor4D< T > &predictor) const |
Solve the linear system starting with a chrono guess. More... | |
Public Member Functions inherited from Chroma::SystemSolver< T > | |
virtual | ~SystemSolver () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
MdagMSysSolverCGTimings () | |
Private Attributes | |
Handle< LinearOperator< T > > | A |
SysSolverCGParams | invParam |
Solve a CG2 system. Here, the operator is NOT assumed to be hermitian.
Definition at line 33 of file syssolver_mdagm_cg_timing.h.
|
inline |
Constructor.
M_ | Linear operator ( Read ) |
invParam | inverter parameters ( Read ) |
Definition at line 41 of file syssolver_mdagm_cg_timing.h.
|
inline |
Destructor is automatic.
Definition at line 47 of file syssolver_mdagm_cg_timing.h.
|
inlineprivate |
Definition at line 111 of file syssolver_mdagm_cg_timing.h.
|
inlinevirtual |
Solver the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
Implements Chroma::MdagMSystemSolver< T >.
Definition at line 58 of file syssolver_mdagm_cg_timing.h.
References Chroma::MdagMSysSolverCGTimings< T >::A, Chroma::chi(), Chroma::END_CODE(), Chroma::InvCG2_timings(), Chroma::MdagMSysSolverCGTimings< T >::invParam, Chroma::SysSolverCGParams::MaxCG, Chroma::SysSolverCGParams::MaxCGRestart, Chroma::n_count, Chroma::SystemSolverResults_t::n_count, Chroma::psi, and Chroma::START_CODE().
|
inlinevirtual |
Solve the linear system starting with a chrono guess.
psi | solution (Write) |
chi | source (Read) |
predictor | a chronological predictor (Read) |
Implements Chroma::MdagMSystemSolver< T >.
Definition at line 87 of file syssolver_mdagm_cg_timing.h.
References Chroma::MdagMSysSolverCGTimings< T >::A, Chroma::chi(), Chroma::END_CODE(), MdagM, Chroma::AbsChronologicalPredictor4D< T >::newVector(), Chroma::psi, and Chroma::START_CODE().
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::MdagMSystemSolver< T >.
Definition at line 50 of file syssolver_mdagm_cg_timing.h.
References Chroma::MdagMSysSolverCGTimings< T >::A.
|
private |
Definition at line 113 of file syssolver_mdagm_cg_timing.h.
Referenced by Chroma::MdagMSysSolverCGTimings< T >::operator()(), and Chroma::MdagMSysSolverCGTimings< T >::subset().
|
private |
Definition at line 114 of file syssolver_mdagm_cg_timing.h.
Referenced by Chroma::MdagMSysSolverCGTimings< T >::operator()().