Jet
v1.3.3
|
3-D finite difference-type linear system solver using incomplete Cholesky conjugate gradient (ICCG). More...
#include <jet/fdm_iccg_solver3.h>
Public Member Functions | |
FdmIccgSolver3 (unsigned int maxNumberOfIterations, double tolerance) | |
Constructs the solver with given parameters. More... | |
bool | solve (FdmLinearSystem3 *system) override |
Solves the given linear system. More... | |
bool | solveCompressed (FdmCompressedLinearSystem3 *system) override |
Solves the given compressed linear system. More... | |
unsigned int | maxNumberOfIterations () const |
Returns the max number of ICCG iterations. More... | |
unsigned int | lastNumberOfIterations () const |
Returns the last number of ICCG iterations the solver made. More... | |
double | tolerance () const |
Returns the max residual tolerance for the ICCG method. More... | |
double | lastResidual () const |
Returns the last residual after the ICCG iterations. More... | |
![]() | |
FdmLinearSystemSolver3 ()=default | |
virtual | ~FdmLinearSystemSolver3 ()=default |
3-D finite difference-type linear system solver using incomplete Cholesky conjugate gradient (ICCG).
jet::FdmIccgSolver3::FdmIccgSolver3 | ( | unsigned int | maxNumberOfIterations, |
double | tolerance | ||
) |
Constructs the solver with given parameters.
unsigned int jet::FdmIccgSolver3::lastNumberOfIterations | ( | ) | const |
Returns the last number of ICCG iterations the solver made.
double jet::FdmIccgSolver3::lastResidual | ( | ) | const |
Returns the last residual after the ICCG iterations.
unsigned int jet::FdmIccgSolver3::maxNumberOfIterations | ( | ) | const |
Returns the max number of ICCG iterations.
|
overridevirtual |
Solves the given linear system.
Implements jet::FdmLinearSystemSolver3.
|
overridevirtual |
Solves the given compressed linear system.
Reimplemented from jet::FdmLinearSystemSolver3.
double jet::FdmIccgSolver3::tolerance | ( | ) | const |
Returns the max residual tolerance for the ICCG method.