xugrid.Ugrid2d.reverse_cuthill_mckee#

Ugrid2d.reverse_cuthill_mckee(dimension=None)[source]#

Reduces bandwith of the connectivity matrix.

Wraps scipy.sparse.csgraph.reverse_cuthill_mckee().

Returns:

reordered

Return type:

Ugrid2d