Bugfix: point interpolation update on mesh motion

This commit is contained in:
Hrvoje Jasak 2018-03-20 13:18:39 +00:00
parent 472920a0ae
commit 63a112d52c

View file

@ -407,14 +407,8 @@ const scalarListList& pointPatchInterpolation::patchPatchPointWeights() const
bool pointPatchInterpolation::movePoints()
{
if (!patchInterpolators_.empty())
{
// Reset patch interpolators (also lazy evaluated)
forAll (patchInterpolators_, patchi)
{
patchInterpolators_[patchi].movePoints();
}
}
// Clear out patch interpolators to force recalculation
patchInterpolators_.clear();
// Clear out demand driven data
clearOut();