74 #ifndef functionObjects_codedFunctionObject_H 75 #define functionObjects_codedFunctionObject_H 89 class codedFunctionObject
91 public functionObject,
119 virtual dlLibraryTable&
libs()
const;
122 virtual void prepare(dynamicCode&,
const dynamicCodeContext&)
const;
177 virtual bool write();
functionObject & redirectFunctionObject() const
Dynamically compiled functionObject.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const Time & time_
Reference to the time database.
virtual void clearRedirect() const
Abstract base-class for Time/database function objects.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
autoPtr< functionObject > redirectFunctionObjectPtr_
Underlying functionObject.
virtual const dictionary & codeDict() const
virtual dlLibraryTable & libs() const
Get the loaded dynamic libraries.
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.
Provides a general interface to enable dynamic code compilation.
A class for handling words, derived from string.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
virtual ~codedFunctionObject()
Destructor.
TypeName("coded")
Runtime type information.
dictionary dict_
Input dictionary.
virtual bool execute()
Called at each ++ or += of the time-loop.
virtual bool write()
Called at each ++ or += of the time-loop.
virtual string description() const