BUG: face: Early exit test on circulate removed.

Does not work for faces of size 1 that match
This commit is contained in:
laurence
2013-01-10 10:47:47 +00:00
parent beeb2650f7
commit 51db019bee
2 changed files with 13 additions and 101 deletions

View File

@ -337,11 +337,11 @@ int Foam::face::compare(const face& a, const face& b)
} while (bCirc.circulate(CirculatorBase::CLOCKWISE));
// If the circulator has stopped then faces a and b do not share a matching
// point
if (!bCirc.circulate())
{
return 0;
}
// point. Doesn't work on matching, single element face.
//if (!bCirc.circulate())
//{
// return 0;
//}
// Look forwards around the faces for a match
do