FDMMGPCGSolver2.hpp
Go to the documentation of this file.
bool Solve(FDMMGLinearSystem2 *system) override
Solves the given linear system.
2-D finite difference-type linear system solver using Multigrid.
Definition: FDMMGSolver2.hpp:21
double GetLastResidual() const
Returns the last residual after the Jacobi iterations.
Definition: pybind11Utils.hpp:20
Definition: Array-Impl.hpp:19
FDMMGPCGSolver2(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)
std::shared_ptr< FDMMGPCGSolver2 > FDMMGPCGSolver2Ptr
Shared pointer type for the FDMMGPCGSolver2.
Definition: FDMMGPCGSolver2.hpp:89
2-D finite difference-type linear system solver using Multigrid Preconditioned conjugate gradient (MG...
Definition: FDMMGPCGSolver2.hpp:27
double GetTolerance() const
Returns the max residual tolerance for the Jacobi method.
unsigned int GetMaxNumberOfIterations() const
Returns the max number of Jacobi iterations.
Multigrid-syle 2-D linear system.
Definition: FDMMGLinearSystem2.hpp:26
unsigned int GetLastNumberOfIterations() const
Returns the last number of Jacobi iterations the solver made.