FDMCGSolver3.hpp
Go to the documentation of this file.
bool Solve(FDMLinearSystem3 *system) override
Solves the given linear system.
Abstract base class for 3-D finite difference-type linear system solver.
Definition: FDMLinearSystemSolver3.hpp:19
unsigned int GetLastNumberOfIterations() const
Returns the last number of Jacobi iterations the solver made.
double GetTolerance() const
Returns the max residual tolerance for the Jacobi method.
unsigned int GetMaxNumberOfIterations() const
Returns the max number of Jacobi iterations.
std::shared_ptr< FDMCGSolver3 > FDMCGSolver3Ptr
Shared pointer type for the FDMCGSolver3.
Definition: FDMCGSolver3.hpp:67
Definition: pybind11Utils.hpp:20
Definition: Array-Impl.hpp:19
FDMCGSolver3(unsigned int maxNumberOfIterations, double tolerance)
Constructs the solver with given parameters.
double GetLastResidual() const
Returns the last residual after the Jacobi iterations.
Definition: Matrix.hpp:611
bool SolveCompressed(FDMCompressedLinearSystem3 *system) override
Solves the given compressed linear system.
Compressed linear system (Ax=b) for 3-D finite differencing.
Definition: FDMLinearSystem3.hpp:62
3-D finite difference-type linear system solver using conjugate gradient.
Definition: FDMCGSolver3.hpp:20
Linear system (Ax=b) for 3-D finite differencing.
Definition: FDMLinearSystem3.hpp:43