update face flip map on zone

This commit is contained in:
mattijs
2009-06-09 14:18:37 +01:00
parent 467b0fbdf1
commit 3a4cd98671

View File

@ -816,6 +816,8 @@ int main(int argc, char *argv[])
// Pre-filtering: flip "owner" boundary or wrong oriented internal // Pre-filtering: flip "owner" boundary or wrong oriented internal
// faces and move to neighbour // faces and move to neighbour
boolList fm(faces.size(), false);
forAll (faces, facei) forAll (faces, facei)
{ {
if if
@ -824,6 +826,7 @@ int main(int argc, char *argv[])
|| (neighbour[facei] != -1 && owner[facei] > neighbour[facei]) || (neighbour[facei] != -1 && owner[facei] > neighbour[facei])
) )
{ {
fm[facei] = true;
faces[facei] = faces[facei].reverseFace(); faces[facei] = faces[facei].reverseFace();
Swap(owner[facei], neighbour[facei]); Swap(owner[facei], neighbour[facei]);
} }
@ -1175,7 +1178,7 @@ int main(int argc, char *argv[])
false, // flipFaceFlux false, // flipFaceFlux
-1, // patchID -1, // patchID
faceZonei, // zoneID faceZonei, // zoneID
false // zoneFlip fm[facei] // zoneFlip
); );
} }