resqpy.olio.box_utilities.volume_of_box¶
- resqpy.olio.box_utilities.volume_of_box(box)[source]¶
Returns the number of cells in the logical 3D cell space defined by box.
- input argument (unmodified):
- box: numpy int array of shape (2, 3)
lower & upper indices in 3 dimensions defining a logical cuboid subset of a 3D cartesian grid
- returns: int
the total number of cells in box