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 @@ Foam::tmp<Foam::surfaceScalarField> Foam::MPLIC::surfaceAlpha
|
||||
IOobject
|
||||
(
|
||||
"splicedPhi",
|
||||
mesh.time().timeName(),
|
||||
mesh.time().name(),
|
||||
mesh
|
||||
),
|
||||
phi,
|
||||
@ -198,7 +198,7 @@ Foam::tmp<Foam::surfaceScalarField> Foam::MPLIC::surfaceAlpha
|
||||
IOobject
|
||||
(
|
||||
"alphaf",
|
||||
mesh.time().timeName(),
|
||||
mesh.time().name(),
|
||||
mesh
|
||||
),
|
||||
mesh,
|
||||
@ -240,7 +240,7 @@ Foam::tmp<Foam::surfaceScalarField> Foam::MPLIC::interpolate
|
||||
IOobject
|
||||
(
|
||||
"spicedTvff",
|
||||
mesh().time().timeName(),
|
||||
mesh().time().name(),
|
||||
mesh()
|
||||
),
|
||||
tvff,
|
||||
|
||||
@ -54,7 +54,7 @@ Foam::tmp<Foam::surfaceScalarField> Foam::MPLICU::interpolate
|
||||
IOobject
|
||||
(
|
||||
"spicedTvff",
|
||||
mesh().time().timeName(),
|
||||
mesh().time().name(),
|
||||
mesh()
|
||||
),
|
||||
tvff,
|
||||
|
||||
@ -53,7 +53,7 @@ Foam::tmp<Foam::surfaceScalarField> Foam::PLIC::interpolate
|
||||
IOobject
|
||||
(
|
||||
"spicedTvff",
|
||||
vf.mesh().time().timeName(),
|
||||
vf.mesh().time().name(),
|
||||
vf.mesh()
|
||||
),
|
||||
tvff.ref(),
|
||||
|
||||
@ -53,7 +53,7 @@ Foam::tmp<Foam::surfaceScalarField> Foam::PLICU::interpolate
|
||||
IOobject
|
||||
(
|
||||
"spicedTvff",
|
||||
vf.mesh().time().timeName(),
|
||||
vf.mesh().time().name(),
|
||||
vf.mesh()
|
||||
),
|
||||
tvff.ref(),
|
||||
|
||||
Reference in New Issue
Block a user