FDMMGSolver2.hpp
Go to the documentation of this file.
Linear system (Ax=b) for 2-D finite differencing.
Definition: FDMLinearSystem2.hpp:40
2-D finite difference-type linear system solver using Multigrid.
Definition: FDMMGSolver2.hpp:21
double GetSORFactor() const
Returns the SOR (Successive Over Relaxation) factor.
bool GetUseRedBlackOrdering() const
Returns true if red-black ordering is enabled.
Definition: pybind11Utils.hpp:20
std::shared_ptr< FDMMGSolver2 > FDMMGSolver2Ptr
Shared pointer type for the FDMMGSolver2.
Definition: FDMMGSolver2.hpp:55
FDMMGSolver2(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)
Constructs the solver with given parameters.
const MGParameters< FDMBLAS2 > & GetParams() const
Returns the Multigrid parameters.
Abstract base class for 2-D finite difference-type linear system solver.
Definition: FDMLinearSystemSolver2.hpp:19
Multigrid-syle 2-D linear system.
Definition: FDMMGLinearSystem2.hpp:26
bool Solve(FDMLinearSystem2 *system) final
No-op. Multigrid-type solvers do not solve FDMLinearSystem2.