autopdex.geometry.subelem_in_elem
- autopdex.geometry.subelem_in_elem(subelem_to_find, in_elem)[source]
Check if a sub-element (e.g. a line element) is contained within an element (e.g. triangular element) (jitted).
- Parameters:
subelem_to_find (jnp.ndarray) – The sub-element to be checked.
in_elem (jnp.ndarray) – The element to be checked against.
- Returns:
True if the sub-element is contained within the element, False otherwise.
- Return type:
bool