Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainb committed Jan 12, 2024
1 parent 7c48a80 commit 1319586
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/example/poisson_dg/poisson_dg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ function main()
h1(u) = sqrt(sum(Bcube.compute((u u + (u) (u))dΩ)))
e = uₐ - uh

ua2 = FEFunction(U)
projection_l2!(ua2, uₐ, dΩ)
vars = Dict("uh" => uh, "ua" => uₐ, "ua2" => ua2, "error" => e)
vars = Dict("uh" => uh, "u_ref" => uₐ, "error" => e)
Bcube.write_vtk_lagrange(joinpath(outputpath, "output"), vars, mesh, U)

el2 = l2(e)
Expand Down

0 comments on commit 1319586

Please sign in to comment.