Go to the documentation of this file.
41 #ifndef symGaussSeidelSmoother_H
42 #define symGaussSeidelSmoother_H
A class for handling words, derived from Foam::string.
A field of fields is a PtrList of fields with reference counting.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
A lduMatrix::smoother for symmetric Gauss-Seidel.
const lduInterfaceFieldPtrsList & interfaces() const noexcept
virtual void scalarSmooth(solveScalarField &psi, const solveScalarField &source, const direction cmpt, const label nSweeps) const
Smooth the solution for a given number of sweeps.
Abstract base-class for lduMatrix smoothers.
const word & fieldName() const noexcept
static void smooth(const word &fieldName, solveScalarField &psi, const lduMatrix &matrix, const solveScalarField &source, const FieldField< Field, scalar > &interfaceBouCoeffs, const lduInterfaceFieldPtrsList &interfaces, const direction cmpt, const label nSweeps)
Smooth for the given number of sweeps.
TypeName("symGaussSeidel")
Runtime type information.
const FieldField< Field, scalar > & interfaceIntCoeffs() const noexcept
const FieldField< Field, scalar > & interfaceBouCoeffs() const noexcept
symGaussSeidelSmoother(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces)
Construct from components.
const volScalarField & psi
const lduMatrix & matrix() const noexcept