201 #ifndef Foam_functionObject_H 202 #define Foam_functionObject_H 245 class unavailableFunctionObject;
291 autoPtr<functionObject>
clone()
const 301 static autoPtr<functionObject>
New 316 virtual const word&
type()
const = 0;
340 virtual
bool execute(const label subIndex);
345 virtual
bool write() = 0;
383 void carp(std::string message =
"")
const;
394 virtual bool write();
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static bool postProcess
Global post-processing mode switch.
virtual ~functionObject()=default
Destructor.
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.
const word & name() const noexcept
Return the name of this functionObject.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
bool useNamePrefix() const noexcept
Return the flag for adding a scoping name prefix.
A class for handling words, derived from Foam::string.
virtual const word & type() const =0
Runtime type information.
bool log
Flag to write log into Info.
virtual bool filesModified() const
Did any file get changed during execution?
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
virtual bool read(const dictionary &dict)
Read and set the function object if its data have changed.
static bool defaultUseNamePrefix
Global default for useNamePrefix.
static word outputPrefix
Directory prefix.
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.
static autoPtr< functionObject > New(const word &name, const Time &runTime, const dictionary &dict)
Select from dictionary, based on its "type" entry.
Abstract functionObject to report when a real version is unavailable.
virtual void movePoints(const polyMesh &mesh)
Update for changes of mesh.
functionObject(const word &name, const bool withNamePrefix=defaultUseNamePrefix)
Construct from components.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
word scopedName(const word &name) const
Return a scoped (prefixed) name.
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))
static int debug
Flag to execute debug content.