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:
Henry Weller
2022-11-30 15:53:51 +00:00
parent 262672ec10
commit ed7e703040
546 changed files with 1612 additions and 1613 deletions

View File

@ -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_,

View File

@ -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

View File

@ -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