pytuflow.TCFRunState#
- class TCFRunState(build_state, context, parent)#
Bases:
ControlFileRunState
,TCFBase
Class for storing the run state of a TCF file.
This class should not be instantiated directly, but rather it should be created from an instance of a BuildState class using the
context()
method of the BuildState class.- Parameters:
build_state (TCF) – The TCF build state instance that the RunState object is based on.
context (Context) – The context instance that will be used to resolve the build state.
parent (ControlFileRunState) – The parent control file run state.
- __init__(build_state, context, parent)#
- Parameters:
build_state (BuildState) – The BuildState object that the RunState object is based on.
context (Context) – The context object that the RunState object is based on.
parent (ControlFile) – The parent control file.
Methods
Returns the model's BCDatabaseRunState instance.
Returns the ScopeList that makes up the objects Context for the given RunState Object.
Returns the model's ECF ControlFileRunState instance.
Returns the EventDatabase object.
Find a particular input(s) using a search filter.
Returns the input with the given UUID.
Returns the log folder path.
Returns the model's MatDatabaseRunState instance.
Returns the 1D output folder.
Returns the 2D output folder.
Returns the file name of the result file without any extension.
Returns the model's rainfall database instance.
Run the control file in context using the specified TUFLOW binary.
Returns the model's SoilDatabase instance.
Returns the model's TBC ControlFileRunState instance.
Returns the model's TEFRunState instance.
Run the control file in context using the specified TUFLOW binary in test mode.
Returns the model's TGC ControlFileRunState instance.
Returns the path to the expected tlf file.
Returns the TPC result from the simulation.
Returns the path to the expected tpc file.
Returns the model's TSCF ControlFileRunState instance.
Attributes
Return the TUFLOW type of the input.
List of scopes associated with the object.
The parent TCF control file object
the BuildState object that the RunState object is based on.
the process that is running the TUFLOW simulation.
the parent control file
the path to the control file
the configuration settings for the model.
list of inputs and comments in the control file
whether the control file has been loaded from disk or not.
the context object that the RunState object is based on.