CHROMA
|
Solve a M*psi=chi linear system by EigCG with eigenvectors. More...
#include <syssolver_linop_eigcg.h>
Public Member Functions | |
LinOpSysSolverEigCG (Handle< LinearOperator< T > > A_, Handle< MdagMSystemSolver< T > > sysSolver_) | |
Constructor. More... | |
~LinOpSysSolverEigCG () | |
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... | |
Public Member Functions inherited from Chroma::SystemSolver< T > | |
virtual | ~SystemSolver () |
Virtual destructor to help with cleanup;. More... | |
Private Attributes | |
Handle< LinearOperator< T > > | A |
Handle< MdagMSystemSolver< T > > | sysSolver |
Solve a M*psi=chi linear system by EigCG with eigenvectors.
Definition at line 27 of file syssolver_linop_eigcg.h.
|
inline |
Constructor.
A_ | Linear operator ( Read ) |
sysSolver_ | MdagM system solver ( Read ) |
Definition at line 35 of file syssolver_linop_eigcg.h.
|
inline |
Destructor is automatic.
Definition at line 40 of file syssolver_linop_eigcg.h.
|
inlinevirtual |
Solver the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
Implements Chroma::SystemSolver< T >.
Definition at line 51 of file syssolver_linop_eigcg.h.
References Chroma::chi(), Chroma::MINUS, Chroma::psi, and Chroma::LinOpSysSolverEigCG< T >::sysSolver.
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::SystemSolver< T >.
Definition at line 43 of file syssolver_linop_eigcg.h.
References Chroma::LinOpSysSolverEigCG< T >::A.
|
private |
Definition at line 62 of file syssolver_linop_eigcg.h.
Referenced by Chroma::LinOpSysSolverEigCG< T >::subset().
|
private |
Definition at line 63 of file syssolver_linop_eigcg.h.
Referenced by Chroma::LinOpSysSolverEigCG< T >::operator()().