From: Martin Kronbichler Date: Wed, 30 Jun 2021 08:15:17 +0000 (+0200) Subject: Make particle_handler.cc compile again X-Git-Tag: v9.4.0-rc1~1181^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12526%2Fhead;p=dealii.git Make particle_handler.cc compile again --- 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()); }