diff --git a/src/OctreeDistributedDiscreteModels.jl b/src/OctreeDistributedDiscreteModels.jl index c839f10..29d87e7 100644 --- a/src/OctreeDistributedDiscreteModels.jl +++ b/src/OctreeDistributedDiscreteModels.jl @@ -347,7 +347,8 @@ function p6est_horizontally_adapt_update_flags!(ptr_pXest_old, ptr_pXest_new) flags=unsafe_wrap(Array, Ptr{Cint}(pXest_old.user_pointer), pXest_old.columns[].local_num_quadrants) - pXest_update_flags!(P4estType(), flags, ptr_p4est_old, ptr_p4est_new) + println("XXX: $(flags)") + #pXest_update_flags!(P4estType(), flags, ptr_p4est_old, ptr_p4est_new) end function p6est_vertically_adapt_update_flags!(ptr_pXest_old, ptr_pXest_new) diff --git a/src/PXestTypeMethods.jl b/src/PXestTypeMethods.jl index ad4f3f9..e15d595 100644 --- a/src/PXestTypeMethods.jl +++ b/src/PXestTypeMethods.jl @@ -498,7 +498,7 @@ function p6est_horizontally_adapt_reset_callbacks() q2_ptr=p2est_quadrant_array_index(forest.layers[], f) @assert p2est_quadrant_is_equal(q2_ptr,layer_ptr) - #unsafe_store!(Ptr{Cint}(q2_ptr[].p.user_data), user_data, 1) + unsafe_store!(Ptr{Cint}(q2_ptr[].p.user_data), user_data, 1) end current_layer_within_column=current_layer_within_column+1