diff --git a/src/PointNeighbors.jl b/src/PointNeighbors.jl index fcac5416..9f6e7e8f 100644 --- a/src/PointNeighbors.jl +++ b/src/PointNeighbors.jl @@ -10,6 +10,7 @@ using KernelAbstractions: KernelAbstractions, @kernel, @index using LinearAlgebra: dot using Polyester: Polyester @reexport using StaticArrays: SVector +using TrixiParticles: eachface, face_vertices, face_normal include("util.jl") include("vector_of_vectors.jl") diff --git a/src/nhs_faces.jl b/src/nhs_faces.jl index 02f8ad17..fe4af4ec 100644 --- a/src/nhs_faces.jl +++ b/src/nhs_faces.jl @@ -25,7 +25,7 @@ faces_in_cell(cell, neighborhood_search) = points_in_cell(cell, neighborhood_sea function initialize!(neighborhood_search::FaceNeighborhoodSearch, geometry; pad = ntuple(_ -> 1, ndims(geometry))) - (; cell_list, neighbor_iterator, search_radius) = neighborhood_search + (; cell_list, search_radius) = neighborhood_search empty!(cell_list)