Go to the documentation of this file.
38 #ifndef SmoothSolver_H
39 #define SmoothSolver_H
52 template<
class Type,
class DType,
class LUType>
55 public LduMatrix<Type, DType, LUType>::solver
A class for handling words, derived from string.
SmoothSolver(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
Construct from matrix components and solver data dictionary.
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,...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Iterative solver for symmetric and assymetric matrices which uses a run-time selected smoother e....
A list of keyword definitions, which are a keyword followed by any number of values (e....
TypeName("SmoothSolver")
Runtime type information.
const LduMatrix< Type, DType, LUType > & matrix() const
const volScalarField & psi
label nSweeps_
Number of sweeps before the evaluation of residual.
const word & fieldName() const
virtual SolverPerformance< Type > solve(Field< Type > &psi) const
Solve the matrix with this solver.