splinepy.helpme.integrate.Transformation.get_element_grid_id#
- Transformation.get_element_grid_id(element_id)[source]#
Compute element ID in grid.
The grid follows splinepy’s ordering: first it goes into the x-direction, after that into the y-direction.
- Parameters:
element_id (int) – ID of spline’s element in element grid
- Returns:
element_grid_id – The grid ID of the element.
- Return type:
list<int>