xugrid.Ugrid1d.merge_partitions#

static Ugrid1d.merge_partitions(grids: Sequence[Ugrid1d]) tuple[Ugrid1d, dict[str, array]][source]#

Merge grid partitions into a single whole.

Duplicate edges are included only once, and removed from subsequent partitions before merging.

Parameters:

grids (sequence of Ugrid1d) –

Returns:

merged

Return type:

Ugrid1d