Skip to content
Snippets Groups Projects
Commit 69eb3950 authored by Lars Bilke's avatar Lars Bilke
Browse files

Merge branch 'GhostPartitioningFix' into 'master'

[A/U/MP] Correct ghost element information.

See merge request ogs/ogs!3481

(cherry picked from commit 9c1e1b13)

fcc5c8ae [A/U/MP] Correct ghost element information.
cd2a40be [Tests/Data] Fix of ghost data requires update.
parent 42d25e1b
Branches v6.3.3
No related tags found
No related merge requests found
......@@ -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;
}
}
}
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment