grids.core.UniformGrid.compute_domain_edges#
- UniformGrid.compute_domain_edges(axes: AxesInput | None = None, origin: Literal['active', 'global'] = 'active', __validate__: bool = True)#
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