Go to the documentation of this file.
45 #ifndef abortCalculation_H
46 #define abortCalculation_H
124 const bool loadFromFilesUnused =
false
153 virtual void write();
A class for handling words, derived from string.
A class for handling file names.
virtual void read(const dictionary &)
Read the dictionary settings.
virtual const word & name() const
Return name of the abort file.
void operator=(const abortCalculation &)
Disallow default bitwise assignment.
abortCalculation(const abortCalculation &)
Disallow default bitwise copy construct.
virtual ~abortCalculation()
Destructor.
TypeName("abort")
Runtime type information.
virtual void execute()
Execute, check existence of abort file and take action.
Mesh consisting of general polyhedral cells.
actionType action_
The type of action.
Registry of regIOobjects.
Watches for presence of the named file in the $FOAM_CASE directory and aborts the calculation if it i...
virtual void movePoints(const polyMesh &)
Update for changes of mesh - does nothing.
virtual void write()
Execute, check existence of abort file and take action.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh - does nothing.
const objectRegistry & obr_
A list of keyword definitions, which are a keyword followed by any number of values (e....
static const NamedEnum< actionType, 3 > actionTypeNames_
Action type names.
word name_
Name of the abort file unless otherwise specified.
void removeFile() const
Remove abort file.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
virtual void end()
Execute at the final time-loop, used for cleanup.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
actionType
Enumeration defining the type of action.
fileName abortFile_
The fully-qualified name of the abort file.