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