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:
@ -83,7 +83,7 @@ Foam::functionObjects::phaseForces::phaseForces
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("dragForce", phase_.name()),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
@ -106,7 +106,7 @@ Foam::functionObjects::phaseForces::phaseForces
|
||||
"virtualMassForce",
|
||||
phase_.name()
|
||||
),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
@ -125,7 +125,7 @@ Foam::functionObjects::phaseForces::phaseForces
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("liftForce", phase_.name()),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
@ -152,7 +152,7 @@ Foam::functionObjects::phaseForces::phaseForces
|
||||
"wallLubricationForce",
|
||||
phase_.name()
|
||||
),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
@ -179,7 +179,7 @@ Foam::functionObjects::phaseForces::phaseForces
|
||||
"turbulentDispersionForce",
|
||||
phase_.name()
|
||||
),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
|
||||
@ -76,7 +76,7 @@ bool Foam::functionObjects::phaseMap::write()
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName(phases_[0].member(), "map"),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_,
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
|
||||
@ -801,7 +801,7 @@ Foam::functionObjects::populationBalanceMoments::read(const dictionary& dict)
|
||||
IOobject
|
||||
(
|
||||
this->integerMomentFldName(),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE
|
||||
@ -826,7 +826,7 @@ Foam::functionObjects::populationBalanceMoments::read(const dictionary& dict)
|
||||
IOobject
|
||||
(
|
||||
this->defaultFldName(),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE
|
||||
@ -846,7 +846,7 @@ Foam::functionObjects::populationBalanceMoments::read(const dictionary& dict)
|
||||
IOobject
|
||||
(
|
||||
this->defaultFldName(),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE
|
||||
@ -866,7 +866,7 @@ Foam::functionObjects::populationBalanceMoments::read(const dictionary& dict)
|
||||
IOobject
|
||||
(
|
||||
this->defaultFldName(),
|
||||
mesh_.time().timeName(),
|
||||
mesh_.time().name(),
|
||||
mesh_,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE
|
||||
|
||||
Reference in New Issue
Block a user