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; } } } diff --git a/Tests/Data/NodePartitionedMesh/partmesh/cube_1x1x1_hex_8_partitioned_cell_properties_val2.bin b/Tests/Data/NodePartitionedMesh/partmesh/cube_1x1x1_hex_8_partitioned_cell_properties_val2.bin index abe521695bc36e59a2b674f06b298ef1525f02bc..72e1ff99434785fb6c32c7cd900aa6f35f4c9b6b 100644 Binary files a/Tests/Data/NodePartitionedMesh/partmesh/cube_1x1x1_hex_8_partitioned_cell_properties_val2.bin and b/Tests/Data/NodePartitionedMesh/partmesh/cube_1x1x1_hex_8_partitioned_cell_properties_val2.bin differ diff --git a/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_cell_properties_val3.bin b/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_cell_properties_val3.bin index f3e2c1e594c2450a1c4ef3e9c58c59a0fdfaf243..41822061e18d5fa8f1f5e2cd9a6aff3d051f26d0 100644 Binary files a/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_cell_properties_val3.bin and b/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_cell_properties_val3.bin differ diff --git a/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_cell_properties_val3.bin b/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_cell_properties_val3.bin index bb31b15949fb3ecc2cb57a76de6f73a1b44a5874..8fca48ffaeb27ad78853ff97441f39bad1489917 100644 Binary files a/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_cell_properties_val3.bin and b/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_cell_properties_val3.bin differ diff --git a/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_cell_properties_val3.bin b/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_cell_properties_val3.bin index d81730328109c994409bbf469ec117395bb2d880..7e1c445bd1a857a8cb0447b2419458842e147eee 100644 Binary files a/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_cell_properties_val3.bin and b/Tests/Data/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_cell_properties_val3.bin differ