yt.utilities.lib.mesh_utilities module

Utilities for unstructured and semi-structured meshes

yt.utilities.lib.mesh_utilities.clamp_edges(edge, pleft, pdx)

Clamp edge to pleft + pdx*n where n is the closest integer

Note that edge is modified in-place.

yt.utilities.lib.mesh_utilities.fill_fcoords(coords, indices, offset=0)
yt.utilities.lib.mesh_utilities.fill_fwidths(coords, indices, offset=0)
yt.utilities.lib.mesh_utilities.smallest_fwidth(coords, indices, offset=0)