Go to the documentation of this file.
106 #ifndef CodedSource_H
107 #define CodedSource_H
174 const word& modelType,
virtual dlLibraryTable & libs() const
Get the loaded dynamic libraries.
A table of dynamically loaded libraries.
A class for handling words, derived from Foam::string.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
Tools for handling dynamic code compilation.
option & redirectFvOption() const
Dynamically compiled fvOption.
const word & name() const
Return const access to the source name.
Encapsulation of dynamic code dictionaries.
Base class for function objects and boundary conditions using dynamic code that provides methods for ...
virtual void clearRedirect() const
Clear any redirected objects.
virtual void correct(GeometricField< Type, fvPatchField, volMesh > &)
Correct field.
Finite volume options abstract base class. Provides a base set of controls, e.g.:
TypeName("coded")
Runtime type information.
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)
Construct from components.
autoPtr< option > redirectFvOptionPtr_
Underlying functionObject.
virtual const dictionary & codeDict() const
Get the dictionary to initialize the codeContext.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual string description() const
Return a description (type + name) for the output.
virtual void constrain(fvMatrix< Type > &eqn, const label fieldi)
Set value.
const fvMesh & mesh() const
Return const access to the mesh database.
virtual void addSup(fvMatrix< Type > &eqn, const label fieldi)
Explicit/implicit matrix contributions.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.