Go to the documentation of this file.
83 bool cacheAgglomeration_;
89 label preSweepsLevelMultiplier_;
98 label postSweepsLevelMultiplier_;
101 label maxPostSweeps_;
104 label nFinestSweeps_;
108 bool interpolateCorrection_;
113 bool scaleCorrection_;
116 bool directSolveCoarsest_;
146 virtual void readControls();
155 const lduMatrix& matrixLevel(
const label i)
const;
172 void agglomerateMatrix
174 const label fineLevelIndex,
180 void agglomerateInterfaceCoefficients
182 const label fineLevelIndex,
195 const label meshComm,
210 void procAgglomerateMatrix
227 void procAgglomerateMatrix
321 void solveCoarsestLevel
const lduInterfaceFieldPtrsList & interfaces() const noexcept
A class for handling words, derived from Foam::string.
A field of fields is a PtrList of fields with reference counting.
Geometric agglomerated algebraic multigrid agglomeration class.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
virtual solverPerformance solve(scalarField &psi, const scalarField &source, const direction cmpt=0) const
Solve.
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
virtual ~GAMGSolver()
Destructor.
Abstract base-class for lduMatrix solvers.
Specialisations of Field<T> for scalar, vector and tensor.
const word & fieldName() const noexcept
const FieldField< Field, scalar > & interfaceBouCoeffs() const noexcept
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
TypeName("GAMG")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Geometric agglomerated algebraic multigrid preconditioner.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Geometric agglomerated algebraic multigrid solver.
const FieldField< Field, scalar > & interfaceIntCoeffs() const noexcept
GAMGSolver(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls)
Construct from lduMatrix and solver controls.
const volScalarField & psi
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
const lduMatrix & matrix() const noexcept