parameters: (self)
docstring: Initialize the model.
docstring_summary: Initialize the model.
docstring_tokens: Initialize the model .
function: def __init__(self):
          """Initialize the model."""
          # (only) the first time this module is used, show an info banner
          global SHOW_BANNER
          if SHOW_BANNER:
              print(('\n\nYou are using Exomerge v%s -- A lightweight Python '
                     'interface for manipulating\nExodusII files. (Python-3 version)' % (VERSION)))
              # print out the exodus banner after formatting it to fit within
              # 79 characters
              exodus_text = exodus.EXODUS_PY_COPYRIGHT
              exodus_text = exodus_text.strip().replace('\n', ' ')
              exodus_text = exodus_text.replace('. ', '.  ')
              exodus_text = exodus_text.replace('.   ', '.  ')
              exodus_text = textwrap.fill(exodus_text, width=79)
              print(('\n%s\n' % exodus_text))
              SHOW_BANNER = False
          # list of [x, y, z] coordinates for each node
          self.nodes = []
          # self.node_fields[name] = values
          # with values[timestep_index][node_index]
          self.node_fields = {}
          # self.global_variables[name] = values
          # with values[timestep_index]
          self.global_variables = {}
          # self.element_blocks[id] = [name, info, connectivity, fields]
          # with name = string name of element block or '' if unnamed
          # with info = ['hex8', elements, 8, 0]
          # with connectivity a shallow list of connectivity
          # with fields['eqps'] = values
          # with values[timestep][local_element_index]
          self.element_blocks = {}
          # self.side_sets[side_set_id] = [name, members, fields]
          # with name = string name of side set or '' if unnamed
          # with members = list of (element_block_id, element_index, side_index)
          # with fields[name] = values
          # with values[timestep_index][local_member_index]
          self.side_sets = {}
          # self.node_sets[node_set_id] = [name, members, fields]
          # with name = string name of node set or '' if unnamed
          # with members = list of node indices
          # with fields[name] = values
          # with values[timestep_index][local_member_index]
          self.node_sets = {}
          # list of timesteps
          self.timesteps = []
          # list of info records
          self.info_records = []
          # list of qa records
          self.qa_records = []
          # title of the database
          self.title = None
function_tokens: def __init__ ( self ) : # (only) the first time this module is used, show an info banner global SHOW_BANNER if SHOW_BANNER : print ( ( '\n\nYou are using Exomerge v%s -- A lightweight Python ' 'interface for manipulating\nExodusII files. (Python-3 version)' % ( VERSION ) ) ) # print out the exodus banner after formatting it to fit within # 79 characters exodus_text = exodus . EXODUS_PY_COPYRIGHT exodus_text = exodus_text . strip ( ) . replace ( '\n' , ' ' ) exodus_text = exodus_text . replace ( '. ' , '.  ' ) exodus_text = exodus_text . replace ( '.   ' , '.  ' ) exodus_text = textwrap . fill ( exodus_text , width = 79 ) print ( ( '\n%s\n' % exodus_text ) ) SHOW_BANNER = False # list of [x, y, z] coordinates for each node self . nodes = [ ] # self.node_fields[name] = values # with values[timestep_index][node_index] self . node_fields = { } # self.global_variables[name] = values # with values[timestep_index] self . global_variables = { } # self.element_blocks[id] = [name, info, connectivity, fields] # with name = string name of element block or '' if unnamed # with info = ['hex8', elements, 8, 0] # with connectivity a shallow list of connectivity # with fields['eqps'] = values # with values[timestep][local_element_index] self . element_blocks = { } # self.side_sets[side_set_id] = [name, members, fields] # with name = string name of side set or '' if unnamed # with members = list of (element_block_id, element_index, side_index) # with fields[name] = values # with values[timestep_index][local_member_index] self . side_sets = { } # self.node_sets[node_set_id] = [name, members, fields] # with name = string name of node set or '' if unnamed # with members = list of node indices # with fields[name] = values # with values[timestep_index][local_member_index] self . node_sets = { } # list of timesteps self . timesteps = [ ] # list of info records self . info_records = [ ] # list of qa records self . qa_records = [ ] # title of the database self . title = None