fvMesh: Completed the mover and topoChanger logic in the new update function
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user