xugrid.Ugrid2d.from_structured_intervals2d#

static Ugrid2d.from_structured_intervals2d(x_intervals: ndarray, y_intervals: ndarray) Ugrid2d[source]#

Create a Ugrid2d topology from a structured topology based on 2D intervals.

Parameters:
  • x_intervals (np.ndarray of shape shape (N + 1, M + 1)) – x-coordinate interval values for N row and M columns.

  • y_intervals (np.ndarray of shape shape (N + 1, M + 1)) – y-coordinate interval values for N row and M columns.