mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -48,7 +48,7 @@ namespace Foam
|
||||
|
||||
bool Foam::writeFreeSurface::writeData()
|
||||
{
|
||||
if (time_.outputTime())
|
||||
if (time_.writeTime())
|
||||
{
|
||||
const fvMesh& mesh =
|
||||
time_.lookupObject<fvMesh>(polyMesh::defaultRegion);
|
||||
|
||||
Reference in New Issue
Block a user