Go to the documentation of this file.
40 #ifndef SmoothSolver_H
41 #define SmoothSolver_H
54 template<
class Type,
class DType,
class LUType>
A class for handling words, derived from Foam::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,...
const word & fieldName() const noexcept
Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e....
Generic templated field type.
Base class for solution control classes.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
TypeName("SmoothSolver")
Runtime type information.
label nSweeps_
Number of sweeps before the evaluation of residual.
const volScalarField & psi
virtual SolverPerformance< Type > solve(Field< Type > &psi) const
Solve the matrix with this solver.
const LduMatrix< Type, DType, LUType > & matrix() const noexcept