Jet  v1.3.3
Classes | Public Member Functions | List of all members
jet::FdmIccgSolver2 Class Referencefinal

2-D finite difference-type linear system solver using incomplete Cholesky conjugate gradient (ICCG). More...

#include <jet/fdm_iccg_solver2.h>

Inheritance diagram for jet::FdmIccgSolver2:
jet::FdmLinearSystemSolver2

Public Member Functions

 FdmIccgSolver2 (unsigned int maxNumberOfIterations, double tolerance)
 Constructs the solver with given parameters. More...
 
bool solve (FdmLinearSystem2 *system) override
 Solves the given linear system. More...
 
bool solveCompressed (FdmCompressedLinearSystem2 *system) override
 Solves the given compressed linear system. More...
 
unsigned int maxNumberOfIterations () const
 Returns the max number of Jacobi iterations. More...
 
unsigned int lastNumberOfIterations () const
 Returns the last number of Jacobi iterations the solver made. More...
 
double tolerance () const
 Returns the max residual tolerance for the Jacobi method. More...
 
double lastResidual () const
 Returns the last residual after the Jacobi iterations. More...
 
- Public Member Functions inherited from jet::FdmLinearSystemSolver2
 FdmLinearSystemSolver2 ()=default
 
virtual ~FdmLinearSystemSolver2 ()=default
 

Detailed Description

2-D finite difference-type linear system solver using incomplete Cholesky conjugate gradient (ICCG).

Constructor & Destructor Documentation

◆ FdmIccgSolver2()

jet::FdmIccgSolver2::FdmIccgSolver2 ( unsigned int  maxNumberOfIterations,
double  tolerance 
)

Constructs the solver with given parameters.

Member Function Documentation

◆ lastNumberOfIterations()

unsigned int jet::FdmIccgSolver2::lastNumberOfIterations ( ) const

Returns the last number of Jacobi iterations the solver made.

◆ lastResidual()

double jet::FdmIccgSolver2::lastResidual ( ) const

Returns the last residual after the Jacobi iterations.

◆ maxNumberOfIterations()

unsigned int jet::FdmIccgSolver2::maxNumberOfIterations ( ) const

Returns the max number of Jacobi iterations.

◆ solve()

bool jet::FdmIccgSolver2::solve ( FdmLinearSystem2 system)
overridevirtual

Solves the given linear system.

Implements jet::FdmLinearSystemSolver2.

◆ solveCompressed()

bool jet::FdmIccgSolver2::solveCompressed ( FdmCompressedLinearSystem2 system)
overridevirtual

Solves the given compressed linear system.

Reimplemented from jet::FdmLinearSystemSolver2.

◆ tolerance()

double jet::FdmIccgSolver2::tolerance ( ) const

Returns the max residual tolerance for the Jacobi method.


The documentation for this class was generated from the following file: