BUG: cut/paste error in searchableExtrudedCircle

- use vector::removeCollinear a few places

COMP: incorrect initialization order in edgeFaceCirculator

COMP: Silence boost bind deprecation warnings (before CGAL-5.2.1)
This commit is contained in:
Mark Olesen
2022-04-21 09:45:28 +02:00
parent 8e6f2ca5de
commit 442c309dca
12 changed files with 38 additions and 29 deletions

View File

@ -382,7 +382,7 @@ void Foam::edgeInterpolation::makeDeltaCoeffs() const
faceCentres[neighbour[edgeI]]
- faceCentres[owner[edgeI]];
unitDelta -= edgeNormal*(edgeNormal & unitDelta);
unitDelta.removeCollinear(edgeNormal);
unitDelta.normalise();
@ -482,7 +482,7 @@ void Foam::edgeInterpolation::makeCorrectionVectors() const
faceCentres[neighbour[edgeI]]
- faceCentres[owner[edgeI]];
unitDelta -= edgeNormal*(edgeNormal & unitDelta);
unitDelta.removeCollinear(edgeNormal);
unitDelta.normalise();
// Edge normal - area tangent