From c2884c48f07ebbe96540b598e447881066cbd194 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 18 Jun 2020 10:35:37 -0400 Subject: [PATCH] Avoid accessing artificial cells in ParticleHandler --- 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 663929a1c3..9a0438458c 100644 --- a/source/particles/particle_handler.cc +++ b/source/particles/particle_handler.cc @@ -1134,7 +1134,7 @@ namespace Particles for (const auto &cell : triangulation->active_cell_iterators()) { - if (!cell->is_ghost()) + if (cell->is_locally_owned()) { std::set cell_to_neighbor_subdomain; for (const unsigned int v : GeometryInfo::vertex_indices()) -- 2.39.5