Loading...
Searching...
No Matches
FDMMGPCGSolver3.hpp
Go to the documentation of this file.
3-D finite difference-type linear system solver using Multigrid Preconditioned conjugate gradient (MG...
Definition FDMMGPCGSolver3.hpp:28
unsigned int GetLastNumberOfIterations() const
Returns the last number of Jacobi iterations the solver made.
bool Solve(FDMMGLinearSystem3 *system) override
Solves the given linear system.
double GetLastResidual() const
Returns the last residual after the Jacobi iterations.
double GetTolerance() const
Returns the max residual tolerance for the Jacobi method.
FDMMGPCGSolver3(unsigned int numberOfCGIter, size_t maxNumberOfLevels, unsigned int numberOfRestrictionIter=5, unsigned int numberOfCorrectionIter=5, unsigned int numberOfCoarsestIter=20, unsigned int numberOfFinalIter=20, double maxTolerance=1e-9, double sorFactor=1.5, bool useRedBlackOrdering=false)
unsigned int GetMaxNumberOfIterations() const
Returns the max number of Jacobi iterations.
3-D finite difference-type linear system solver using Multigrid.
Definition FDMMGSolver3.hpp:22
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< FDMMGPCGSolver3 > FDMMGPCGSolver3Ptr
Shared pointer type for the FDMMGPCGSolver3.
Definition FDMMGPCGSolver3.hpp:89
1.9.8