38 #ifndef SmoothSolver_H
39 #define SmoothSolver_H
52 template<
class Type,
class DType,
class LUType>
Pre-declare SubField and related Field type.
const LduMatrix< Type, DType, LUType > & matrix() const
const word & fieldName() 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< Type, DType, LUType > &matrix, const dictionary &solverDict)
Construct from matrix components and solver data dictionary.
TypeName("SmoothSolver")
Runtime type information.
label nSweeps_
Number of sweeps before the evaluation of residual.
virtual void readControls()
Read the control parameters from the controlDict_.
virtual SolverPerformance< Type > solve(Field< Type > &psi) const
Solve the matrix with this solver.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for run-time selectable region solvers.
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.