Go to the documentation of this file.
51 #ifndef OutputFilterFunctionObject_H
52 #define OutputFilterFunctionObject_H
67 template<
class OutputFilter>
141 TypeName(OutputFilter::typeName_());
212 virtual bool start();
215 virtual bool execute(
const bool forceWrite);
virtual bool enabled() const
Return the enabled flag.
virtual const dictionary & dict() const
Return the input dictionary.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
A functionObject wrapper around OutputFilter to allow them to be created via the functions entry with...
A class for handling words, derived from string.
virtual const Time & time() const
Return time database.
virtual bool execute(const bool forceWrite)
Called at each ++ or += of the time-loop.
word regionName_
Name of region - defaults to name of polyMesh::defaultRegion.
void operator=(const OutputFilterFunctionObject &)
Disallow default bitwise assignment.
virtual const OutputFilter & outputFilter() const
Return the output filter.
void readDict()
Read relevant dictionary entries.
virtual bool start()
Called at the start of the time-loop.
Mesh consisting of general polyhedral cells.
Abstract base-class for Time/database function objects.
virtual bool timeSet()
Called when time was set at the end of the Time::operator++.
outputFilterOutputControl outputControl_
Output controls.
outputFilterOutputControl evaluateControl_
Evaluate controls.
scalar timeEnd_
De-activation time - defaults to VGREAT.
bool storeFilter_
Switch to store filter in between writes or use on-the-fly.
TypeName(OutputFilter::typeName_())
Runtime type information.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
label nStepsToStartTimeChange_
Number of steps before the dumping time in which the deltaT.
virtual void off()
Switch the function object off.
void destroyFilter()
Destroys most of the data associated with this object.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual const outputFilterOutputControl & outputControl() const
Return the output control object.
virtual const word & dictName() const
Return the optional dictionary name.
virtual void movePoints(const polyMesh &mesh)
Update for changes of mesh.
dictionary dict_
Input dictionary.
scalar timeStart_
Activation time - defaults to -VGREAT.
bool active() const
Returns true if active (enabled and within time bounds)
virtual bool adjustTimeStep()
Called at the end of Time::adjustDeltaT() if adjustTime is true.
bool enabled_
Switch for the execution - defaults to 'yes/on'.
An output control for function objects. The default is time-step execution at every interval.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
virtual const word & regionName() const
Return the region name.
virtual const word & name() const
Name.
OutputFilterFunctionObject(const OutputFilterFunctionObject &)
Disallow default bitwise copy construct.
const Time & time_
Reference to the time database.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
autoPtr< OutputFilter > ptr_
Pointer to the output filter.
virtual void on()
Switch the function object on.
void allocateFilter()
Creates most of the data associated with this object.
word dictName_
Dictionary name to supply required inputs.