Go to the documentation of this file.
120 #ifndef fv_CodedFvSource_H
121 #define fv_CodedFvSource_H
140 public fv::cellSetOption,
182 =
"codedFvOptionTemplate.C";
186 =
"codedFvOptionTemplate.H";
199 const word& modelType,
virtual dlLibraryTable & libs() const
const word & name() const noexcept
A table of dynamically loaded libraries.
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
Tools for handling dynamic code compilation.
Encapsulation of dynamic code dictionaries.
Base class for function objects and boundary conditions using dynamic code that provides methods for ...
virtual void clearRedirect() const
static constexpr const char *const codeTemplateC
virtual void correct(GeometricField< Type, fvPatchField, volMesh > &)
Base abstract class for handling finite volume options (i.e. fvOption).
static constexpr const char *const codeTemplateH
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
CodedSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
virtual const dictionary & codeDict() const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const fvMesh & mesh() const noexcept
virtual string description() const
virtual void constrain(fvMatrix< Type > &eqn, const label fieldi)
virtual void addSup(fvMatrix< Type > &eqn, const label fieldi)
fv::option & redirectOption() const
Generic GeometricField class.
virtual bool read(const dictionary &dict)
autoPtr< fv::option > redirectOptionPtr_
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const