Go to the documentation of this file.
38 #ifndef functionObject_H
39 #define functionObject_H
79 virtual const word&
type()
const = 0;
150 virtual bool start() = 0;
154 virtual bool execute(
const bool forceWrite) = 0;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool read(const dictionary &)=0
Read and set the function object if its data have changed.
A class for handling words, derived from string.
virtual void movePoints(const polyMesh &mesh)=0
Update for changes of mesh.
void operator=(const functionObject &)
Disallow default bitwise assignment.
Mesh consisting of general polyhedral cells.
Abstract base-class for Time/database function objects.
virtual ~functionObject()
Destructor.
virtual void updateMesh(const mapPolyMesh &mpm)=0
Update for changes of mesh.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static autoPtr< functionObject > New(const word &name, const Time &, const dictionary &)
Select from dictionary, based on its "type" entry.
Return a pointer to a new functionObject created on freestore.
declareRunTimeSelectionTable(autoPtr, functionObject, dictionary,(const word &name, const Time &t, const dictionary &dict),(name, t, dict))
autoPtr< functionObject > clone() const
Return clone.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual bool adjustTimeStep()
Called at the end of Time::adjustDeltaT() if adjustTime is true.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual bool timeSet()
Called when time was set at the end of the Time::operator++.
virtual const word & name() const
Name.
Macros to ease declaration of run-time selection tables.
virtual const word & type() const =0
Runtime type information.
virtual bool execute(const bool forceWrite)=0
Called at each ++ or += of the time-loop. forceWrite overrides the.
functionObject(const functionObject &)
Disallow default bitwise copy construct.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual bool start()=0
Called at the start of the time-loop.