118 #ifndef functionObject_H 119 #define functionObject_H 151 virtual const word&
type()
const = 0;
170 (name, runTime, dict)
180 autoPtr<functionObject>
clone()
const 183 return autoPtr<functionObject>(
nullptr);
193 static autoPtr<functionObject>
New 208 const word&
name()
const;
211 virtual bool read(
const dictionary&);
221 virtual bool write() = 0;
virtual ~functionObject()
Destructor.
const word & name() const
Return the name of this functionObject.
static bool postProcess
Global post-processing mode switch.
virtual bool execute()=0
Called at each ++ or += of the time-loop.
Abstract base-class for Time/database function objects.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
virtual const word & type() const =0
Runtime type information.
virtual bool setTimeStep()
Called by Time::setDeltaT(). Allows the function object to override.
void operator=(const functionObject &)=delete
Disallow default bitwise assignment.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
functionObject(const word &name)
Construct from components.
static autoPtr< functionObject > New(const word &name, const Time &, const dictionary &)
Select from dictionary, based on its "type" entry.
autoPtr< functionObject > clone() const
Return clone.
virtual bool write()=0
Called at each ++ or += of the time-loop.
Mesh consisting of general polyhedral cells.
Macros to ease declaration of run-time selection tables.
Switch log
Switch write log to Info.
virtual scalar timeToNextWrite()
Called by Time::adjustTimeStep(). Allows the function object to.
virtual void movePoints(const polyMesh &mesh)
Update for changes of mesh.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
declareRunTimeSelectionTable(autoPtr, functionObject, dictionary,(const word &name, const Time &runTime, const dictionary &dict),(name, runTime, dict))