From 6206cbc03dfb0ee489763b1f5d124ad8e2dfc8a9 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 30 Jun 2021 10:15:17 +0200 Subject: [PATCH] Make particle_handler.cc compile again --- source/particles/particle_handler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/particles/particle_handler.cc b/source/particles/particle_handler.cc index 5ddcad2e17..5426e9e6bd 100644 --- a/source/particles/particle_handler.cc +++ b/source/particles/particle_handler.cc @@ -1914,7 +1914,7 @@ namespace Particles (void)distributed_triangulation; Assert( - distributed_triangulation || local_number_of_particles == 0, + distributed_triangulation || number_of_locally_owned_particles == 0, ExcMessage( "Mesh refinement in a non-distributed triangulation is not supported " "by the ParticleHandler class. Either insert particles after mesh " @@ -1922,7 +1922,7 @@ namespace Particles // Resize the container if it is possible without // transferring particles - if (local_number_of_particles == 0) + if (number_of_locally_owned_particles == 0) particles.resize(triangulation->n_active_cells()); } -- 2.39.5