38 #ifndef SmoothSolver_H 39 #define SmoothSolver_H 52 template<
class Type,
class DType,
class LUType>
55 public LduMatrix<Type, DType, LUType>::solver
A list of keyword definitions, which are a keyword followed by any number of values (e...
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
label nSweeps_
Number of sweeps before the evaluation of residual.
const word & fieldName() const
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
const volScalarField & psi
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.
TypeName("SmoothSolver")
Runtime type information.
LduMatrix is a general matrix class in which the coefficients are stored as three arrays...