BUG: NURBS3DVolume was getting a wrong set of points

findPointsInBox was receiving points in the Cartesian system,
not local coordinate system
This commit is contained in:
Vaggelis Papoutsis
2019-12-13 20:22:23 +02:00
committed by Andrew Heather
parent 4e4c681c14
commit c9aec64fb9

View File

@ -1625,7 +1625,10 @@ Foam::tmp<Foam::vectorField> Foam::NURBS3DVolume::getPointsInBox()
{
findPointsInBox(localSystemCoordinates_);
}
tmp<vectorField> pointsInBox(new vectorField(mesh_.points(), mapPtr_()));
tmp<vectorField> pointsInBox
(
new vectorField(localSystemCoordinates_, mapPtr_())
);
return pointsInBox;
}