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