resqpy.olio.box_utilities.full_extent_box0

resqpy.olio.box_utilities.full_extent_box0(extent)[source]

Returns a box containing all the cells in a grid of the given extent.

input argument (unmodified):
extent: numpy int array of shape (3)

extent (shape) of a 3D cartesian grid, usually in kji python protocol

returns: numpy int array of shape (2, 3)

indices defining a maximal box containing the entire grid; kji ordering is same as that of extent; zero base