Go to the documentation of this file.
41 #ifndef GaussSeidelSmoother_H
42 #define GaussSeidelSmoother_H
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)
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,...
const lduInterfaceFieldPtrsList & interfaces() const noexcept
A lduMatrix::smoother for Gauss-Seidel.
Generic templated field type.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
const word & fieldName() const noexcept
virtual void scalarSmooth(solveScalarField &psi, const solveScalarField &Source, const direction cmpt, const label nSweeps) const
GaussSeidelSmoother(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces)
const FieldField< Field, scalar > & interfaceIntCoeffs() const noexcept
const FieldField< Field, scalar > & interfaceBouCoeffs() const noexcept
const volScalarField & psi
const lduMatrix & matrix() const noexcept