You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(possibly also tspan and intervals have to be changed to make sure the expected restart file is indeed written)
Then execute examples/p4est_2d_dgsem/elixir_advection_restart.jl, e.g. via
julia --project=. -e 'using Trixi; trixi_include("../examples/p4est_2d_dgsem/elixir_advection_restart.jl")'
The following error occurs:
[23540] signal (11.1): Segmentation fault
in expression starting at /home/bene/trixi/Trixi.jl/examples/p4est_2d_dgsem/elixir_advection_restart.jl:42
unsafe_store! at ./pointer.jl:146 [inlined]
unsafe_store! at /home/bene/trixi/Trixi.jl/run/dev/P4est/src/pointerwrappers.jl:108 [inlined]
setindex! at /home/bene/trixi/Trixi.jl/run/dev/P4est/src/pointerwrappers.jl:88 [inlined]
copy_to_quad_iter_volume at /home/bene/trixi/Trixi.jl/src/callbacks_step/amr.jl:533
At this point p4est's user_data array is accessed:
Extend
examples/p4est_2d_dgsem/elixir_advection_extended.jl
by an AMR callback like(possibly also
tspan
and intervals have to be changed to make sure the expected restart file is indeed written)Then execute
examples/p4est_2d_dgsem/elixir_advection_restart.jl
, e.g. viaThe following error occurs:
At this point p4est's user_data array is accessed:
But it is not created when calling
load_p4est
, in contrast tonew_p4est
which is used in initial constructors.The text was updated successfully, but these errors were encountered: