109 #ifndef functionObject_H 110 #define functionObject_H 142 functionObject(
const functionObject&);
145 void operator=(
const functionObject&);
151 virtual const word&
type()
const = 0;
169 (
const word&
name,
const Time& runTime,
const dictionary&
dict),
170 (name, runTime, dict)
177 functionObject(
const word& name);
180 autoPtr<functionObject>
clone()
const 183 return autoPtr<functionObject>(NULL);
190 static autoPtr<functionObject>
New 205 const word&
name()
const;
208 virtual bool read(
const dictionary&);
218 virtual bool write() = 0;
virtual ~functionObject()
Destructor.
static bool postProcess
Global post-processing mode switch.
virtual bool execute()=0
Called at each ++ or += of the time-loop.
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.
const word & name() const
Return the name of this functionObject.
virtual const word & type() const =0
Runtime type information.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
autoPtr< functionObject > clone() const
Return clone.
static autoPtr< functionObject > New(const word &name, const Time &, const dictionary &)
Select from dictionary, based on its "type" entry.
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 void movePoints(const polyMesh &mesh)
Update for changes of mesh.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual bool adjustTimeStep()
Called at the end of Time::adjustDeltaT() if adjustTime is true.
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))