Commit 774dcadb authored by mattijs's avatar mattijs
Browse files

BUG: cellCuts: incorrect correspondence. Fixes #670.

parent 351fa4f9
......@@ -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]);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment