xugrid.UgridDataArrayAccessor.partition#
- UgridDataArrayAccessor.partition(n_part: int) UgridDataArray | UgridDataset #
Partition a grid into a given number of parts.
- Parameters:
n_part (integer) – The number of parts to partition the mesh.
- Returns:
partitioned
- Return type:
list of partitions