CHROMA
|
Solve a M*psi=chi linear system by BICGSTAB. More...
#include <syssolver_linop_bicrstab.h>
Public Member Functions | |
LinOpSysSolverBiCRStab (Handle< LinearOperator< T > > A_, const SysSolverBiCGStabParams &invParam_) | |
Constructor. More... | |
~LinOpSysSolverBiCRStab () | |
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 Member Functions | |
LinOpSysSolverBiCRStab () | |
Private Attributes | |
Handle< LinearOperator< T > > | A |
SysSolverBiCGStabParams | invParam |
Solve a M*psi=chi linear system by BICGSTAB.
Definition at line 32 of file syssolver_linop_bicrstab.h.
|
inline |
Constructor.
A_ | Linear operator ( Read ) |
invParam | inverter parameters ( Read ) |
Definition at line 40 of file syssolver_linop_bicrstab.h.
|
inline |
Destructor is automatic.
Definition at line 46 of file syssolver_linop_bicrstab.h.
|
inlineprivate |
Definition at line 82 of file syssolver_linop_bicrstab.h.
|
inlinevirtual |
Solver the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
Implements Chroma::SystemSolver< T >.
Definition at line 57 of file syssolver_linop_bicrstab.h.
References Chroma::LinOpSysSolverBiCRStab< T >::A, Chroma::chi(), Chroma::END_CODE(), Chroma::InvBiCRStab(), Chroma::LinOpSysSolverBiCRStab< T >::invParam, Chroma::SysSolverBiCGStabParams::MaxBiCGStab, Chroma::PLUS, Chroma::psi, Chroma::SysSolverBiCGStabParams::RsdBiCGStab, and Chroma::START_CODE().
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::SystemSolver< T >.
Definition at line 49 of file syssolver_linop_bicrstab.h.
References Chroma::LinOpSysSolverBiCRStab< T >::A.
|
private |
Definition at line 84 of file syssolver_linop_bicrstab.h.
Referenced by Chroma::LinOpSysSolverBiCRStab< T >::operator()(), and Chroma::LinOpSysSolverBiCRStab< T >::subset().
|
private |
Definition at line 85 of file syssolver_linop_bicrstab.h.
Referenced by Chroma::LinOpSysSolverBiCRStab< T >::operator()().