shamo.utils.onelab.get_elems_coords

shamo.utils.onelab.get_elems_coords(elem_type, elems_tags)[source]

Get the coordinates of specified elements.

Parameters
elem_typeint

The type of the elements in elem_tags.

elems_tagsnumpy.ndarray

The tags of the elements to acquire the coordinates for.

Returns
numpy.ndarray

The coordinates of the specified elements.

Notes

This method must be called inside a Gmsh context.