From c5969723c5125eda6fe4bec050c412e6b6285652 Mon Sep 17 00:00:00 2001 From: JordiManyer Date: Mon, 9 Dec 2024 15:23:22 +1100 Subject: [PATCH] Minor --- test/AdaptivityTests/AdaptiveMeshRefinementTests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/AdaptivityTests/AdaptiveMeshRefinementTests.jl b/test/AdaptivityTests/AdaptiveMeshRefinementTests.jl index c512e11ae..6f0915d0e 100644 --- a/test/AdaptivityTests/AdaptiveMeshRefinementTests.jl +++ b/test/AdaptivityTests/AdaptiveMeshRefinementTests.jl @@ -56,7 +56,7 @@ function amr_step(model,u_exact;order=1) f(x) = -Δ(u_exact)(x) a(u,v) = ∫(∇(u)⋅∇(v))dΩ l(v) = ∫(f*v)dΩ - ηh(u) = l2_norm(hK,(f + Δ(u)),dΩ) + l2_norm(hK,(∇(u) - ∇u)⋅nΓ,dΓ) + l2_norm(hK,jump(∇(u)⋅nΛ),dΛ) + ηh(u) = l2_norm(hK*(f + Δ(u)),dΩ) + l2_norm(hK*(∇(u) - ∇u)⋅nΓ,dΓ) + l2_norm(jump(hK*∇(u)⋅nΛ),dΛ) op = AffineFEOperator(a,l,U,V) uh = solve(op)