Go to the documentation of this file.
37 #ifndef workflowControls_H
38 #define workflowControls_H
bool runCurrentStep(const word &)
shall the process run the current step
word lastCompletedStep() const
return the latest completed step
void clearCompletedSteps()
remove completedStep from the dictionary
bool restartRequested() const
check if restart is requested
A class for handling words, derived from string.
static std::map< word, label > populateWorkflowSteps()
populate workflowSteps with values
polyMeshGen & mesh_
reference to the mesh
DynList< word > completedStepsBeforeRestart_
completed step before restart
void setStepCompleted() const
sets the current step to completed
word restartAfterStep_
step for restarting the workflow
DynList< word > completedSteps() const
return the names of completed steps
void workflowCompleted()
set the workflow completed flag
workflowControls(polyMeshGen &mesh)
Construct from IOdictionary.
bool isRestarted_
holds information whether the workflow has been restarted
bool isStepCompleted() const
is the current step already completed
bool runAfterCurrentStep() const
shall the workflow run after the current step
static const std::map< word, label > workflowSteps_
word currentStep_
current step in the workflow
bool stopAfterCurrentStep() const
shall the workflow stop after the current step
bool exitAfterCurrentStep() const
shall the procedure stop after the current step