pytuflow.CrossSectionRunState

pytuflow.CrossSectionRunState#

class CrossSectionRunState(build_state, context, parent)#

Bases: RunState, Database

Run state class for cross-sections database.

Parameters:
__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

context

Returns the ScopeList that makes up the objects Context for the given RunState Object.

items

Returns an iterator over the (key, value) pairs in the database.

value

Returns the value of the given item from the database.

Attributes

TUFLOW_TYPE

Return the TUFLOW type of the input.

df

fpath

scope

List of scopes associated with the object.

tcf

parent

the parent control file

bs

the BuildState object that the RunState object is based on.

ctx

the context object that the RunState object is based on.

entries

Ordered dictionary containing the database entries.