iwfm.read_nodes

iwfm.read_nodes(node_file, factor=0.0, verbose=False)[source]

Read an IWFM Node file and return a list of the nodes and their coordinates.

Parameters:
  • node_file (str) – IWFM preprocessor node file

  • factor (float) – If factor = 0.0, use the factor from the input file Else if factor <> 0.0 use this as the factor

  • verbose (bool, default = False) – If True, print status messages.

Returns:

  • node_coord (list) – Nodes and coordinates

  • node_list (list) – Node numbers