Mondaic

salvus.mesh.algorithms

salvus.mesh.algorithms salvus mesh algorithms

Meshing algorithms.

Functions

compute_element_angle()

def compute_element_angle(
    edge_indices: npt.NDArray, connectivity: npt.NDArray, points: npt.NDArray
) -> npt.NDArray: ...

Compute the angle of each element in a mesh.

Parameters
  • edge_indices npt.NDArray — List of indices representing the edges of each element.
  • connectivity npt.NDArray — Array representing the connectivity of the mesh elements.
  • points npt.NDArray — Array representing the coordinates of the mesh points.
Returns npt.NDArray

Submodules