fvMesh: Completed the mover and topoChanger logic in the new update function

This commit is contained in:
Henry Weller
2021-10-04 08:48:55 +01:00
parent 905eea9115
commit d1e6971bea

View File

@ -475,10 +475,10 @@ bool Foam::fvMesh::dynamic() const
bool Foam::fvMesh::update()
{
// return !(!topoChanger_->update() && !mover_->update());
topoChanger_->update();
mover_->update();
return true;
bool updated = topoChanger_->update();
updated = mover_->update() || updated;
return updated;
}