Subsets of elements#

These methods are useful in identifying subsets of grid elements, e.g., closest node to a point; nodes at edges.

cells_at_corners_of_grid

Get array of cells in cellular grid (grid with only cells) corners.

find_nearest_node

Node nearest a point.

grid_coords_to_node_id

Convert node indices to node ID.

is_point_on_grid

Check if a point is on the grid.

nodes_around_point

Get the nodes surrounding a point.

set_closed_boundaries_at_grid_edges

Set boundary not to be closed.

set_fixed_value_boundaries_at_grid_edges

Create fixed values boundaries.

set_looped_boundaries

Create wrap-around boundaries.

perimeter_nodes

Get nodes on the convex hull of a Graph.

perimeter_nodes

Get nodes on the convex hull of a Graph.