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