Go to the documentation of this file.
46 #ifndef smoothSolver_H
47 #define smoothSolver_H
const lduInterfaceFieldPtrsList & interfaces() const noexcept
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,...
Abstract base-class for lduMatrix solvers.
TypeName("smoothSolver")
Runtime type information.
const word & fieldName() const noexcept
virtual void readControls()
Read the control parameters from the controlDict_.
virtual solverPerformance solve(scalarField &psi, const scalarField &source, const direction cmpt=0) const
Solve the matrix with this solver.
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.
const FieldField< Field, scalar > & interfaceBouCoeffs() const noexcept
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.
virtual ~smoothSolver()=default
Destructor.
const FieldField< Field, scalar > & interfaceIntCoeffs() const noexcept
const volScalarField & psi
const lduMatrix & matrix() const noexcept
Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e....