shamo.utils.onelab.get_elems_subset

shamo.utils.onelab.get_elems_subset(dim, tags, min_dist)[source]

Get a subset of elements based on a minimal distance between them.

Parameters
dimint

The dimension of the elements.

tagslist [int]

The entity tags.

min_distfloat

The minimal distance between elements.

Returns
numpy.ndarray

The elements tags.

numpy.ndarray

The elements coordinates.