40#ifndef Foam_SmoothSolver_H
41#define Foam_SmoothSolver_H
54template<
class Type,
class DType,
class LUType>
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
solver(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
Construct for given field name, matrix and controls.
const LduMatrix< Type, DType, LUType > & matrix() const noexcept
const word & fieldName() const noexcept
LduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
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_.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
const volScalarField & psi
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.