ugrid_utils¶
-
xms.grid.ugrid.ugrid_utils.
edges_equivalent
(edge1, edge2)¶ Check if two edges are equivalent
- Parameters
edge1 – The first edge
edge2 – The second edge
- Returns
True if edges are equal, False otherwise
-
xms.grid.ugrid.ugrid_utils.
read_ugrid_from_ascii_file
(file_name)¶ Read a ugrid from an ascii file
- Parameters
file_name – file to read the ugrid from
- Returns
A ugrid read from a file
-
xms.grid.ugrid.ugrid_utils.
write_ugrid_to_ascii_file
(ugrid, file_name)¶ Write a ugrid to an ascii file
- Parameters
ugrid – UGrid to write to a file
file_name – File to write UGrid to