solver: Remove unused bool return from moveMesh method

This commit is contained in:
Will Bainbridge
2023-02-02 11:37:47 +00:00
parent df0f7f16be
commit efa8cae943
15 changed files with 20 additions and 55 deletions

View File

@ -160,7 +160,7 @@ void Foam::solvers::solid::preSolve()
}
bool Foam::solvers::solid::moveMesh()
void Foam::solvers::solid::moveMesh()
{
if (pimple.firstIter() || pimple.moveMeshOuterCorrectors())
{
@ -173,14 +173,7 @@ bool Foam::solvers::solid::moveMesh()
}
mesh.move();
if (mesh.changing())
{
return mesh.moving();
}
}
return false;
}

View File

@ -130,7 +130,7 @@ public:
virtual void preSolve();
//- Called at the start of the PIMPLE loop to move the mesh
virtual bool moveMesh();
virtual void moveMesh();
//- Called at the beginning of the PIMPLE loop
virtual void prePredictor();