Skip to content

Commit

Permalink
Add prism and pyramid
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Jan 16, 2025
1 parent dfcfe1a commit 1838c73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def test_facet_jacobians_3D_simplex():
np.testing.assert_allclose(reference_facet_jacobian, facet_jacobian[i])


@pytest.mark.parametrize("cell", [basix.cell.CellType.hexahedron, basix.cell.CellType.tetrahedron])
@pytest.mark.parametrize("cell", [basix.cell.CellType.hexahedron, basix.cell.CellType.tetrahedron,
basix.cell.CellType.prism, basix.cell.CellType.pyramid])
def test_edge_jacobian_3D_simplex(cell):
edge_jacobian = basix.cell.edge_jacobians(cell)
geom = basix.geometry(cell)
Expand Down

0 comments on commit 1838c73

Please sign in to comment.