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:
@ -976,7 +976,7 @@ Foam::label Foam::checkGeometry
|
||||
/functionObjects::writeFile::outputPrefix
|
||||
/(mesh.name() != polyMesh::defaultRegion ? mesh.name() : word())
|
||||
/"checkMesh"
|
||||
/mesh.time().timeName();
|
||||
/mesh.time().name();
|
||||
|
||||
const polyBoundaryMesh& patches = mesh.boundaryMesh();
|
||||
|
||||
|
||||
@ -336,7 +336,7 @@ Foam::label Foam::checkTopology
|
||||
Info<< " The mesh has multiple regions which are not connected "
|
||||
"by any face." << endl
|
||||
<< " <<Writing region information to "
|
||||
<< mesh.time().timeName()/"cellToRegion"
|
||||
<< mesh.time().name()/"cellToRegion"
|
||||
<< endl;
|
||||
|
||||
labelIOList ctr
|
||||
@ -344,7 +344,7 @@ Foam::label Foam::checkTopology
|
||||
IOobject
|
||||
(
|
||||
"cellToRegion",
|
||||
mesh.time().timeName(),
|
||||
mesh.time().name(),
|
||||
mesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE
|
||||
|
||||
Reference in New Issue
Block a user