From: Martin Kronbichler Date: Wed, 12 May 2021 12:12:16 +0000 (+0200) Subject: Particle sort: Use find_active_cell_around_point with cache X-Git-Tag: v9.3.0-rc1~78^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb7b33a00636cb3b851d4cad8ed44bfd49135731;p=dealii.git Particle sort: Use find_active_cell_around_point with cache --- 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;