40 #ifndef Foam_SmoothSolver_H 41 #define Foam_SmoothSolver_H 54 template<
class Type,
class DType,
class LUType>
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual SolverPerformance< Type > solve(Field< Type > &psi) const
Solve the matrix with this solver.
Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e...
const LduMatrix< Type, DType, LUType > & matrix() const noexcept
label nSweeps_
Number of sweeps before the evaluation of residual.
Generic templated field type.
A class for handling words, derived from Foam::string.
virtual void readControls()
Read the control parameters from the controlDict_.
SmoothSolver(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
Construct from matrix components and solver data dictionary.
const word & fieldName() const noexcept
TypeName("SmoothSolver")
Runtime type information.
LduMatrix is a general matrix class in which the coefficients are stored as three arrays...
const volScalarField & psi