FDMJacobiSolver3.h
Go to the documentation of this file.
Abstract base class for 3-D finite difference-type linear system solver.
Definition: FDMLinearSystemSolver3.h:17
double GetTolerance() const
Returns the max residual tolerance for the Jacobi method.
unsigned int GetLastNumberOfIterations() const
Returns the last number of Jacobi iterations the solver made.
static void Relax(const FDMMatrix3 &A, const FDMVector3 &b, FDMVector3 *x, FDMVector3 *xTemp)
Performs single Jacobi relaxation step.
FDMJacobiSolver3(unsigned int maxNumberOfIterations, unsigned int residualCheckInterval, double tolerance)
Constructs the solver with given parameters.
Definition: pybind11Utils.h:24
bool SolveCompressed(FDMCompressedLinearSystem3 *system) override
Solves the given compressed linear system.
std::shared_ptr< FDMJacobiSolver3 > FDMJacobiSolver3Ptr
Shared pointer type for the FDMJacobiSolver3.
Definition: FDMJacobiSolver3.h:70
double GetLastResidual() const
Returns the last residual after the Jacobi iterations.
unsigned int GetMaxNumberOfIterations() const
Returns the max number of Jacobi iterations.
bool Solve(FDMLinearSystem3 *system) override
Solves the given linear system.
3-D finite difference-type linear system solver using Jacobi method.
Definition: FDMJacobiSolver3.h:17
Compressed linear system (Ax=b) for 3-D finite differencing.
Definition: FDMLinearSystem3.h:61
Linear system (Ax=b) for 3-D finite differencing.
Definition: FDMLinearSystem3.h:42