iwfm.bnds2mask

iwfm.bnds2mask(bnds_d, coords)[source]

Bounding polygon for IWFM mmodel.

Parameters:
  • bnds_d (dictionary) – Boundry elements and order along boundary

  • elem_nodes (list) – List of elements and associated nodes

  • coords (list [[node_id, x, y], ...]) – Nodal coordinates

Return type:

Bounding polygon as numpy array of x,y coordinates