39 addasymMatrixConstructorToTable<DILUGaussSeidelSmoother>
48 const word& fieldName,
95 diluSmoother_.scalarSmooth(
psi, source, cmpt, nSweeps);
96 gsSmoother_.scalarSmooth(
psi, source, cmpt, nSweeps);
A const Field/List wrapper with possible data conversion.
Combined DILU/GaussSeidel smoother for asymmetric matrices in which DILU smoothing is followed by Gau...
virtual void smooth(solveScalarField &psi, const scalarField &Source, const direction cmpt, const label nSweeps) const
Smooth the solution for a given number of sweeps.
DILUGaussSeidelSmoother(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls)
Construct from matrix components.
void scalarSmooth(solveScalarField &psi, const solveScalarField &source, const direction cmpt, const label nSweeps) const
Smooth the solution for a given number of sweeps.
A field of fields is a PtrList of fields with reference counting.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const FieldField< Field, scalar > & interfaceIntCoeffs() const noexcept
smoother(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces)
Construct for given field name, matrix etc.
const lduInterfaceFieldPtrsList & interfaces() const noexcept
const lduMatrix & matrix() const noexcept
const FieldField< Field, scalar > & interfaceBouCoeffs() const noexcept
const word & fieldName() const noexcept
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const volScalarField & psi
lduMatrix::smoother::addasymMatrixConstructorToTable< DILUGaussSeidelSmoother > addDILUGaussSeidelSmootherAsymMatrixConstructorToTable_
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< solveScalar > solveScalarField
UPtrList< const lduInterfaceField > lduInterfaceFieldPtrsList
List of coupled interface fields to be used in coupling.