41 #ifndef DILUSmoother_H 42 #define DILUSmoother_H Simplified diagonal-based incomplete LU smoother for asymmetric matrices.
const lduInterfaceFieldPtrsList & interfaces() const noexcept
const FieldField< Field, scalar > & interfaceIntCoeffs() const noexcept
const lduMatrix & matrix() const noexcept
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("DILU")
Runtime type information.
A field of fields is a PtrList of fields with reference counting.
Abstract base-class for lduMatrix smoothers.
A class for handling words, derived from Foam::string.
const word & fieldName() const noexcept
const FieldField< Field, scalar > & interfaceBouCoeffs() const noexcept
void smooth(solveScalarField &psi, const scalarField &source, const direction cmpt, const label nSweeps) const
Smooth the solution for a given number of sweeps.
DILUSmoother(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.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays...
void scalarSmooth(solveScalarField &psi, const solveScalarField &source, const direction cmpt, const label nSweeps) const
Smooth the solution for a given number of sweeps.
const volScalarField & psi