Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Brubeck Martinez committed Jan 18, 2023
1 parent 1d333bd commit 9e26211
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/multigrid/test_hiptmair.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ def run_riesz_map(V, mat_type):
return norm(u_exact - u, str(sobolev))


@pytest.mark.parametrize("family", ["N1curl"])
@pytest.mark.parametrize("cell", ["tetrahedron"])
@pytest.mark.parametrize(["family", "cell"],
[("N1curl", "tetrahedron")])
def test_hiptmair_hcurl(family, cell):
mesh = mesh_hierarchy(cell)[-1]
V = FunctionSpace(mesh, family, degree=1)
assert run_riesz_map(V, "aij") < 4E-4
assert run_riesz_map(V, "matfree") < 4E-4


@pytest.mark.parametrize("family", ["RT"])
@pytest.mark.parametrize("cell", ["tetrahedron"])
@pytest.mark.parametrize(["family", "cell"],
[("RT", "tetrahedron")])
def test_hiptmair_hdiv(family, cell):
mesh = mesh_hierarchy(cell)[-1]
V = FunctionSpace(mesh, family, degree=1)
Expand Down

0 comments on commit 9e26211

Please sign in to comment.