40 #ifndef smoothSolver_H 41 #define smoothSolver_H virtual solverPerformance solve(scalarField &psi, const scalarField &source, const direction cmpt=0) const
Solve the matrix with this solver.
virtual ~smoothSolver()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
label nSweeps_
Number of sweeps before the evaluation of residual.
const lduMatrix & matrix() const
const FieldField< Field, scalar > & interfaceBouCoeffs() const
const FieldField< Field, scalar > & interfaceIntCoeffs() const
A class for handling words, derived from string.
Abstract base-class for lduMatrix solvers.
const lduInterfaceFieldPtrsList & interfaces() const
const volScalarField & psi
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 word & fieldName() const
Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e...
TypeName("smoothSolver")
Runtime type information.