Commit 95c8de92 authored by mattijs's avatar mattijs
Browse files

BUG: polyMesh::movePoints: broken virtual

parent 6d3b1044
......@@ -1092,8 +1092,7 @@ const Foam::pointField& Foam::polyMesh::oldPoints() const
Foam::tmp<Foam::scalarField> Foam::polyMesh::movePoints
(
const pointField& newPoints,
const bool deleteDemandDrivenData
const pointField& newPoints
)
{
if (debug)
......@@ -1147,14 +1146,6 @@ Foam::tmp<Foam::scalarField> Foam::polyMesh::movePoints
// Force recalculation of all geometric data with new points
if (deleteDemandDrivenData)
{
// Remove the stored tet base points
tetBasePtIsPtr_.clear();
// Remove the cell tree
cellTreePtr_.clear();
}
bounds_ = boundBox(points_);
boundary_.movePoints(points_);
......
......@@ -442,11 +442,7 @@ public:
}
//- Move points, returns volumes swept by faces in motion
virtual tmp<scalarField> movePoints
(
const pointField&,
const bool deleteDemandDrivenData = false
);
virtual tmp<scalarField> movePoints(const pointField&);
//- Reset motion
void resetMotion() const;
......@@ -526,6 +522,9 @@ public:
//- Clear primitive data (points, faces and cells)
void clearPrimitives();
//- Clear geometry not used for CFD (cellTree, tetBasePtIs)
void clearAdditionalGeom();
//- Clear cell tree data
void clearCellTree();
......
Supports Markdown
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