Skip to content

Commit

Permalink
Finalize P4est mesh as well
Browse files Browse the repository at this point in the history
  • Loading branch information
benegee authored Nov 21, 2024
1 parent 348ef23 commit fb276cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibTrixi.jl/src/api_jl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function trixi_finalize_simulation_jl(simstate)
# x-ref: https://github.com/DLR-AMR/t8code/issues/1295
# x-ref: https://github.com/trixi-framework/libtrixi/pull/215#discussion_r1843676330
mesh, _, _, _ = mesh_equations_solver_cache(simstate.semi)
if mesh isa Trixi.T8codeMesh
if mesh isa Trixi.T8codeMesh || mesh isa Trixi.P4estMesh
finalize(mesh)
end

Expand Down

0 comments on commit fb276cc

Please sign in to comment.