STYLE: changes to Time and TimeState

- update TimeState access methods

- use writeTime() instead of old method name outputTime()

- use deltaTValue() instead of deltaT().value()
  to avoids pointless construct of intermediate
This commit is contained in:
Mark Olesen
2023-06-28 10:11:01 +02:00
parent 7a857b318a
commit d5a0eaeeee
56 changed files with 218 additions and 185 deletions

View File

@ -48,7 +48,7 @@ namespace Foam
bool Foam::writeFreeSurface::writeData()
{
if (time_.outputTime())
if (time_.writeTime())
{
const fvMesh& mesh =
time_.lookupObject<fvMesh>(polyMesh::defaultRegion);