autopdex.geometry.select_elements_in_plane

autopdex.geometry.select_elements_in_plane(x_nodes, surface_elements, x_p1, normal)[source]

Select the indices of elements that lie in a plane.

Parameters:
  • x_nodes (jnp.ndarray) – Array of nodes of the elements.

  • surface_elements (jnp.ndarray) – Array of surface elements.

  • x_p1 (jnp.ndarray) – A point on the plane.

  • normal (jnp.ndarray) – The normal vector of the plane.

Returns:

Array of indices of elements that lie in the plane.

Return type:

jnp.ndarray