FDMMGSolver2.h
Go to the documentation of this file.
Linear system (Ax=b) for 2-D finite differencing.
Definition: FDMLinearSystem2.h:39
2-D finite difference-type linear system solver using Multigrid.
Definition: FDMMGSolver2.h:19
double GetSORFactor() const
Returns the SOR (Successive Over Relaxation) factor.
bool GetUseRedBlackOrdering() const
Returns true if red-black ordering is enabled.
Definition: pybind11Utils.h:24
std::shared_ptr< FDMMGSolver2 > FDMMGSolver2Ptr
Shared pointer type for the FDMMGSolver2.
Definition: FDMMGSolver2.h: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.h:17
bool Solve(FDMLinearSystem2 *system) final
No-op. Multigrid-type solvers do not solve FDMLinearSystem2.