Loading...
Searching...
No Matches
FDMJacobiSolver2.hpp
Go to the documentation of this file.
2-D finite difference-type linear system solver using Jacobi method.
Definition FDMJacobiSolver2.hpp:20
unsigned int GetLastNumberOfIterations() const
Returns the last number of Jacobi iterations the solver made.
bool SolveCompressed(FDMCompressedLinearSystem2 *system) override
Solves the given compressed linear system.
static void Relax(const FDMMatrix2 &A, const FDMVector2 &b, FDMVector2 *x, FDMVector2 *xTemp)
Performs single Jacobi relaxation step.
double GetLastResidual() const
Returns the last residual after the Jacobi iterations.
FDMJacobiSolver2(unsigned int maxNumberOfIterations, unsigned int residualCheckInterval, double tolerance)
Constructs the solver with given parameters.
double GetTolerance() const
Returns the max residual tolerance for the Jacobi method.
static void Relax(const MatrixCSRD &A, const VectorND &b, VectorND *x, VectorND *xTemp)
Performs single Jacobi relaxation step for compressed sys.
bool Solve(FDMLinearSystem2 *system) override
Solves the given linear system.
unsigned int GetMaxNumberOfIterations() const
Returns the max number of Jacobi iterations.
Abstract base class for 2-D finite difference-type linear system solver.
Definition FDMLinearSystemSolver2.hpp:20
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< FDMJacobiSolver2 > FDMJacobiSolver2Ptr
Shared pointer type for the FDMJacobiSolver2.
Definition FDMJacobiSolver2.hpp:72
Compressed linear system (Ax=b) for 2-D finite differencing.
Definition FDMLinearSystem2.hpp:60
Linear system (Ax=b) for 2-D finite differencing.
Definition FDMLinearSystem2.hpp:41
1.9.8