147#ifndef Foam_SemiImplicitSource_H
148#define Foam_SemiImplicitSource_H
168class SemiImplicitSource
170 public fv::cellSetOption
198 HashPtrTable<Function1<Type>> Su_;
201 HashPtrTable<Function1<scalar>> Sp_;
204 HashTable<expressions::exprString> valueExprSu_;
207 HashTable<expressions::exprString> valueExprSp_;
210 HashPtrTable<expressions::volumeExprDriver> driverSu_;
223 const word& keyExplicit,
240 const word& modelType,
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
A HashTable similar to std::unordered_map.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Applies semi-implicit source within a specified region for Type, where <Type>=Scalar/Vector/Spherical...
volumeModeType & volumeMode() noexcept
Modifiable access to the volume mode.
volumeModeType volumeMode() const noexcept
The volume mode.
virtual void addSup(fvMatrix< Type > &eqn, const label fieldi)
Add explicit contribution to incompressible equation.
static const Enum< volumeModeType > volumeModeTypeNames_
Names for volumeModeType.
virtual bool read(const dictionary &dict)
Read source dictionary.
TypeName("SemiImplicitSource")
Runtime type information.
volumeModeType
Options for the volume mode type.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
const word & name() const noexcept
Return const access to the source name.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.