discretize.TreeMesh.get_cells_in_vertical_trianglular_prism#
- TreeMesh.get_cells_in_vertical_trianglular_prism(self, triangle, double h)#
Find the indices of cells that intersect a vertical triangular prism.
- Parameters:
- triangle(3,
dim
) array_like The three points of the triangle, assumes the top and bottom faces are parallel.
- h
float
The height of the prism.
- triangle(3,
- Returns:
numpy.ndarray
of
int
The indices of cells which overlap the vertical triangular prism.