xugrid.UgridDataArrayAccessor.reverse_cuthill_mckee#

UgridDataArrayAccessor.reverse_cuthill_mckee()[source]#

Reduces bandwith of the connectivity matrix.

Wraps scipy.sparse.csgraph.reverse_cuthill_mckee().

Returns:

reordered

Return type:

Union[UgridDataArray, UgridDataset]