grids.mixins.core.GridUtilsMixin.compute_domain_edges#
- GridUtilsMixin.compute_domain_edges(axes: AxesInput | None = None, origin: Literal['active', 'global'] = 'active', __validate__: bool = True)[source]#
Return coordinate edge arrays along each axis.
If the grid is vertex-centered, returns coordinate arrays directly. If the grid is cell-centered, computes edges from centers and bounding box.
- Parameters:
- Returns:
Coordinate edge arrays per axis.
- Return type:
list
ofnp.ndarray