Go to the documentation of this file.
77 #ifndef codedFunctionObject_H
78 #define codedFunctionObject_H
175 virtual bool start();
179 virtual bool execute(
const bool forceWrite);
virtual bool timeSet()
Called when time was set at the end of the Time::operator++.
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.
virtual string description() const
A table of dynamically loaded libraries.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
Tools for handling dynamic code compilation.
virtual const dictionary & codeDict() const
TypeName("coded")
Runtime type information.
virtual dlLibraryTable & libs() const
Get the loaded dynamic libraries.
Encapsulation of dynamic code dictionaries.
Base class for function objects and boundary conditions using dynamic code.
This function object provides a general interface to enable dynamic code compilation.
functionObject & redirectFunctionObject() const
Dynamically compiled functionObject.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
Mesh consisting of general polyhedral cells.
Abstract base-class for Time/database function objects.
codedFunctionObject(const codedFunctionObject &)
Disallow default bitwise copy construct.
virtual bool start()
Called at the start of the time-loop.
virtual ~codedFunctionObject()
Destructor.
virtual void movePoints(const polyMesh &)
Move points.
virtual void clearRedirect() const
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Time & time_
Reference to the time database.
void operator=(const codedFunctionObject &)
Disallow default bitwise assignment.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual const word & name() const
Name.
virtual bool execute(const bool forceWrite)
Called at each ++ or += of the time-loop. forceWrite overrides the.
virtual void updateMesh(const mapPolyMesh &)
Update mesh.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
autoPtr< functionObject > redirectFunctionObjectPtr_
Underlying functionObject.
dictionary dict_
Input dictionary.
virtual bool end()
Called when Time::run() determines that the time-loop exits.