Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Dec 5, 2024
1 parent 7032f93 commit 0bf2608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/firedrake/regression/test_restricted_function_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def test_restricted_function_space_extrusion():
v = TestFunction(V_res)
a = inner(grad(u), grad(v)) * dx
L = inner(-2 * (x**2 + y**2), v) * dx + inner(dot(exact_grad, normal), v) * ds_v(2) + inner(dot(exact_grad, normal), v) * ds_t
bc = DirichletBC(V_res, 0., "bottom")
bc = DirichletBC(V_res, exact, "bottom")
sol = Function(V_res)
solve(a == L, sol, bcs=[bc])
assert assemble(inner(sol - exact, sol - exact) * dx) ** 0.5 < 1.e-15
assert assemble(inner(sol - exact, sol - exact) * dx)**0.5 < 1.e-15

0 comments on commit 0bf2608

Please sign in to comment.