119 #ifndef functionObject_H 120 #define functionObject_H 154 virtual const word&
type()
const = 0;
174 (name, runTime, dict)
184 autoPtr<functionObject>
clone()
const 187 return autoPtr<functionObject>(
nullptr);
197 static autoPtr<functionObject>
New 212 const word&
name()
const;
215 virtual bool read(
const dictionary&);
228 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 functionObjects.
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.
void operator=(const functionObject &)=delete
Disallow default bitwise assignment.
virtual bool read(const dictionary &)
Read and set the functionObject if its data have changed.
Switch executeAtStart_
Switch write log to Info.
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.
ClassName("functionObject")
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 functionObject 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))
virtual bool executeAtStart() const
Return true if the functionObject should be executed at the start.