salvus.mesh.algorithms
Meshing algorithms.
Functions
compute_element_angle()
compute_element_angle()def compute_element_angle(
edge_indices: numpy.ndarray,
connectivity: numpy.ndarray,
points: numpy.ndarray,
) -> numpy.ndarray: ...Compute the angle of each element in a mesh.
Parameters
edge_indicesnumpy.ndarray — List of indices representing the edges of each element.connectivitynumpy.ndarray — Array representing the connectivity of the mesh elements.pointsnumpy.ndarray — Array representing the coordinates of the mesh points.
Returns numpy.ndarray