mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: cellCuts: incorrect correspondence. Fixes #670.
This commit is contained in:
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user