diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp index 1f62801d481e648c2dc292773b15285c51496906..a9e57cfec4295be06d5e43019308469fb2a29c27 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; } } }