STYLE: meshRefinementMerge: ordering

This commit is contained in:
mattijs
2013-08-07 10:00:10 +01:00
parent f1b8288edc
commit 4298a4c0a0

View File

@ -293,11 +293,13 @@ Foam::label Foam::meshRefinement::mergePatchFacesUndo
) )
); );
// Filter out any set that contains any preserveFace
label compactI = 0; label compactI = 0;
forAll(allFaceSets, i) forAll(allFaceSets, i)
{ {
bool keep = true;
const labelList& set = allFaceSets[i]; const labelList& set = allFaceSets[i];
bool keep = true;
forAll(set, j) forAll(set, j)
{ {
if (preserveFaces[set[j]] != -1) if (preserveFaces[set[j]] != -1)