don't need shrink before List::transfer(DynamicList&) anymore

This commit is contained in:
Mark Olesen
2008-12-12 14:20:56 +01:00
parent 8a5931f15a
commit c65a40d57d
39 changed files with 89 additions and 156 deletions

View File

@ -218,14 +218,8 @@ void Foam::edgeIntersections::intersectEdges
// Done current edge. Transfer all data into *this
currentIntersections.shrink();
currentIntersectionTypes.shrink();
operator[](edgeI).transfer(currentIntersections);
classification_[edgeI].transfer(currentIntersectionTypes);
currentIntersections.clear();
currentIntersectionTypes.clear();
}
if (debug)
@ -651,7 +645,7 @@ Foam::label Foam::edgeIntersections::removeDegenerates
offsetPerturb
(
surf1,
surf2,
surf2,
edgeI,
rndGen,
points1,