Time::timeName(): no longer needed, calls replaced by name()
The timeName() function simply returns the dimensionedScalar::name() which holds the user-time name of the current time and now that timeName() is no longer virtual the dimensionedScalar::name() can be called directly. The timeName() function implementation is maintained for backward-compatibility.
This commit is contained in:
@ -125,7 +125,7 @@ void Foam::phaseSystem::solve
|
||||
IOobject
|
||||
(
|
||||
"alphaVoid",
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
@ -173,7 +173,7 @@ void Foam::phaseSystem::solve
|
||||
IOobject
|
||||
(
|
||||
"Sp",
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
@ -525,7 +525,7 @@ void Foam::phaseSystem::solve
|
||||
IOobject
|
||||
(
|
||||
"sumAlphaMoving",
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
|
||||
Reference in New Issue
Block a user