From fcc5c8aee3ec48932ce553e6b5e1a0fe32443c93 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Wed, 24 Feb 2021 07:34:42 +0100 Subject: [PATCH] [A/U/MP] Correct ghost element information. --- .../PartitionMesh/NodeWiseMeshPartitioner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp index 1f62801d481..a9e57cfec42 100644 --- a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp +++ b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp @@ -538,7 +538,7 @@ void markDuplicateGhostCells(MeshLib::Mesh const& mesh, for (auto& partition : partitions) { partition.duplicate_ghost_cell.resize(partition.ghost_elements.size(), - false); + true); for (std::size_t i = 0; i < partition.ghost_elements.size(); i++) { @@ -546,7 +546,7 @@ void markDuplicateGhostCells(MeshLib::Mesh const& mesh, if (!cell_visited[ghost_element.getID()]) { cell_visited[ghost_element.getID()] = true; - partition.duplicate_ghost_cell[i] = true; + partition.duplicate_ghost_cell[i] = false; } } } -- GitLab