Bugfix in pointPatchInterpolation.C
Certain demand driven data not properly cleaned-up on mesh motion (without topo changes).
This commit is contained in:
parent
f9f1154734
commit
72ec717d28
1 changed files with 2 additions and 8 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue