iwfm.iwfm_read_nodes

iwfm.iwfm_read_nodes(node_file, factor=0.0)[source]

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

Parameters:

node_file (str) – IWFM preprocessor node file

Returns:

  • node_coord (list) – Nodes and coordinates

  • node_list (list) – Node numbers

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