40 #ifndef functionObjects_stopAt_H 41 #define functionObjects_stopAt_H 50 namespace functionObjects
128 virtual bool write();
actionType
Enumeration defining the type of action.
virtual bool end()
Execute at the final time-loop, used for cleanup.
virtual bool read(const dictionary &)
Read the dictionary settings.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool condition() const =0
Return true when the stop condition is achieved.
virtual ~stopAt()
Destructor.
stop immediately without writing data
Abstract base-class for Time/database functionObjects.
stop the next time data are written
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
void operator=(const stopAt &)=delete
Disallow default bitwise assignment.
static const NamedEnum< actionType, 3 > actionTypeNames_
Action type names.
A class for handling words, derived from string.
virtual bool write()
Execute, check existence of stopAt file and take action.
TypeName("stopAt")
Runtime type information.
virtual bool execute()
Execute, check existence of stopAt file and take action.
write data and stop immediately
Abstract base class for stop conditions.
bool stopped_
Set true when the stop action has executed.
stopAt(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
actionType action_
The type of action.
const Time & time_
Reference to the Time.