Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Dec 9, 2024
1 parent 9cf8f08 commit c596972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/AdaptivityTests/AdaptiveMeshRefinementTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c596972

Please sign in to comment.