107 #ifndef CodedSource_H 108 #define CodedSource_H 183 const word& modelType,
static const wordList codeKeys_
The keywords associated with source code.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Constructs on-the-fly fvOption source.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void correct(GeometricField< Type, fvPatchField, volMesh > &)
Correct field.
virtual const dictionary & codeDict() const
Get the dictionary to initialize the codeContext.
virtual void clearRedirect() const
Clear any redirected objects.
Generic GeometricField class.
virtual void constrain(fvMatrix< Type > &eqn, const label fieldi)
Set value.
const fvMesh & mesh() const
Return const access to the mesh database.
virtual const wordList & codeKeys() const
Get the keywords associated with source code.
virtual bool read(const dictionary &dict)
Read source dictionary.
option & redirectFvOption() const
Dynamically compiled fvOption.
A class for handling words, derived from string.
Base class for function objects and boundary conditions using dynamic code.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
const word & name() const
Return const access to the source name.
virtual string description() const
Return a description (type + name) for the output.
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.
TypeName("coded")
Runtime type information.
CodedSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
Tools for handling dynamic code compilation.
virtual void addSup(fvMatrix< Type > &eqn, const label fieldi)
Explicit and implicit matrix contributions.
Encapsulation of dynamic code dictionaries.
Mesh data needed to do the Finite Volume discretisation.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual const word & codeName() const
Name of the dynamically generated CodedType.
autoPtr< option > redirectFvOptionPtr_
Underlying functionObject.
Finite volume options abstract base class. Provides a base set of controls, e.g.: ...