mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: meshRefinementMerge - always increment compactI if 'keep'
This commit is contained in:
@ -307,9 +307,14 @@ Foam::label Foam::meshRefinement::mergePatchFacesUndo
|
||||
}
|
||||
}
|
||||
|
||||
if (keep && (compactI != i))
|
||||
if (keep)
|
||||
{
|
||||
allFaceSets[compactI++] = set;
|
||||
if (compactI != i)
|
||||
{
|
||||
allFaceSets[compactI] = set;
|
||||
}
|
||||
|
||||
compactI++;
|
||||
}
|
||||
}
|
||||
allFaceSets.setSize(compactI);
|
||||
|
||||
Reference in New Issue
Block a user