discretize.TreeMesh.get_cells_in_tetrahedron#

TreeMesh.get_cells_in_tetrahedron(self, tetra)#

Find the indices of cells that intersect a tetrahedron.

Parameters:
tetra(dim+1, dim) array_like

The points of the tetrahedron(s).

Returns:
numpy.ndarray of int

The indices of cells which overlap the triangle.