UnstructuredGrid.offset

Contents

UnstructuredGrid.offset#

property UnstructuredGrid.offset: NumpyArray[int][source]#

Return the cell locations array.

This is the location of the start of each cell in cell_connectivity.

Deprecated since version 0.49: Use cell_offsets instead.

Returns:
numpy.ndarray

Array of cell offsets indicating the start of each cell.

Notes#

The array returned is immutable and cannot be written to. If you need to modify this array, create a copy of it using numpy.copy().