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