Go to the documentation of this file.
46 #ifndef smoothSolver_H
47 #define smoothSolver_H
const lduInterfaceFieldPtrsList & interfaces() const
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,...
const lduMatrix & matrix() const
Abstract base-class for lduMatrix solvers.
TypeName("smoothSolver")
Runtime type information.
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.
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 > & interfaceBouCoeffs() const
const word & fieldName() const
const volScalarField & psi
const FieldField< Field, scalar > & interfaceIntCoeffs() const
Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e....