Mondaic
This API reference is not for the latest stable Salvus version.

salvus.mesh.algorithms

Meshing algorithms.

Functions

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_indices numpy.ndarray — List of indices representing the edges of each element.
  • connectivity numpy.ndarray — Array representing the connectivity of the mesh elements.
  • points numpy.ndarray — Array representing the coordinates of the mesh points.
Returns numpy.ndarray

Submodules