mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: foamToEnsightParts reports the time value twice in log output
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
// Read time index from */uniform/time, but treat 0 and constant specially
|
// Read time index from */uniform/time, but treat 0 and constant specially
|
||||||
// or simply increment from the '-index' option if it was supplied
|
// or simply increment from the '-index' option if it was supplied
|
||||||
|
|
||||||
label timeIndex = 0;
|
label timeIndex = 0;
|
||||||
|
{
|
||||||
if (optIndex)
|
if (optIndex)
|
||||||
{
|
{
|
||||||
timeIndex = indexingNumber++;
|
timeIndex = indexingNumber++;
|
||||||
@ -37,7 +37,4 @@
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Info<< nl << "Time [" << timeIndex << "] = " << runTime.timeName() << nl;
|
|
||||||
|
|
||||||
// end-of-file
|
|
||||||
|
|||||||
Reference in New Issue
Block a user