warp.fem.element_partition_index#

warp.fem.element_partition_index = <warp._src.fem.operator.Operator object>#

Returns the index of the passed cell in the domain’s geometry partition, or NULL_ELEMENT_INDEX if not part of the partition.

Note:

Currently only available for fem.ElementKind.CELL elements