From fb7b33a00636cb3b851d4cad8ed44bfd49135731 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 12 May 2021 14:12:16 +0200 Subject: [PATCH] Particle sort: Use find_active_cell_around_point with cache --- source/particles/particle_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/particles/particle_handler.cc b/source/particles/particle_handler.cc index a66b824bf6..48c760bed5 100644 --- a/source/particles/particle_handler.cc +++ b/source/particles/particle_handler.cc @@ -1093,7 +1093,7 @@ namespace Particles Point> current_cell_and_position = GridTools::find_active_cell_around_point<>( - *mapping, *triangulation, out_particle->get_location()); + *triangulation_cache, out_particle->get_location()); current_cell = current_cell_and_position.first; current_reference_position = current_cell_and_position.second; -- 2.39.5