46 #ifndef Foam_smoothSolver_H 47 #define Foam_smoothSolver_H const FieldField< Field, scalar > & interfaceBouCoeffs() const noexcept
virtual solverPerformance solve(scalarField &psi, const scalarField &source, const direction cmpt=0) const
Solve the matrix with this solver.
virtual ~smoothSolver()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label nSweeps_
Number of sweeps before the evaluation of residual.
const lduMatrix & matrix() const noexcept
A field of fields is a PtrList of fields with reference counting.
A class for handling words, derived from Foam::string.
Abstract base-class for lduMatrix solvers.
const lduInterfaceFieldPtrsList & interfaces() const noexcept
smoothSolver(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 and solver controls.
virtual void readControls()
Read the control parameters from the controlDict_.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays...
const FieldField< Field, scalar > & interfaceIntCoeffs() const noexcept
Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e...
const volScalarField & psi
const word & fieldName() const noexcept
TypeName("smoothSolver")
Runtime type information.