Go to the documentation of this file.
35 #ifndef GaussSeidelSmoother_H
36 #define GaussSeidelSmoother_H
A class for handling words, derived from string.
TypeName("GaussSeidel")
Runtime type information.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
const FieldField< Field, scalar > & interfaceBouCoeffs() const
const word & fieldName() const
const FieldField< Field, scalar > & interfaceIntCoeffs() const
A lduMatrix::smoother for Gauss-Seidel.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const lduMatrix & matrix() const
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Abstract base-class for lduMatrix smoothers.
const volScalarField & psi
const lduInterfaceFieldPtrsList & interfaces() const
GaussSeidelSmoother(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces)
Construct from components.
static void smooth(const word &fieldName, scalarField &psi, const lduMatrix &matrix, const scalarField &source, const FieldField< Field, scalar > &interfaceBouCoeffs, const lduInterfaceFieldPtrsList &interfaces, const direction cmpt, const label nSweeps)
Smooth for the given number of sweeps.