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