FDMMGSolver3.h
Go to the documentation of this file.
bool GetUseRedBlackOrdering() const
Returns true if red-black ordering is enabled.
Abstract base class for 3-D finite difference-type linear system solver.
Definition: FDMLinearSystemSolver3.h:17
FDMMGSolver3(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.
3-D finite difference-type linear system solver using Multigrid.
Definition: FDMMGSolver3.h:19
double GetSORFactor() const
Returns the SOR (Successive Over Relaxation) factor.
std::shared_ptr< FDMMGSolver3 > FDMMGSolver3Ptr
Shared pointer type for the FDMMGSolver3.
Definition: FDMMGSolver3.h:55
const MGParameters< FDMBLAS3 > & GetParams() const
Returns the Multigrid parameters.
Definition: pybind11Utils.h:24
bool Solve(FDMLinearSystem3 *system) final
No-op. Multigrid-type solvers do not solve FDMLinearSystem3.
Linear system (Ax=b) for 3-D finite differencing.
Definition: FDMLinearSystem3.h:42