From 603b05c5632427ed0a8b8668bb46a5a987aedcd4 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 31 Aug 2012 12:56:41 +0100 Subject: [PATCH] BUG: motionSmoother: clear out tetBasePtIs storage --- src/dynamicMesh/motionSmoother/motionSmoother.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dynamicMesh/motionSmoother/motionSmoother.C b/src/dynamicMesh/motionSmoother/motionSmoother.C index fa9c2f1baa..0359c18457 100644 --- a/src/dynamicMesh/motionSmoother/motionSmoother.C +++ b/src/dynamicMesh/motionSmoother/motionSmoother.C @@ -905,7 +905,8 @@ Foam::tmp Foam::motionSmoother::movePoints // Move actual mesh points. Make sure to delete tetBasePtIs so it // gets rebuilt. - tmp tsweptVol = mesh_.movePoints(newPoints, true); + mesh_.clearAdditionalGeom(); + tmp tsweptVol = mesh_.movePoints(newPoints); pp_.movePoints(mesh_.points());