BUG: cellCuts: incorrect correspondence. Fixes #670.

This commit is contained in:
mattijs
2017-12-21 13:00:44 +00:00
parent 351fa4f979
commit 774dcadb65

View File

@ -242,7 +242,12 @@ void Foam::cellCuts::syncProc()
else
{
label oppFp = relCut[i]-1;
label fp = f.size()-1-oppFp;
label fp =
(
oppFp == 0
? 0
: f.size()-oppFp
);
absoluteCut[i] = vertToEVert(f[fp]);
}
}