diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/getTimeIndex.H b/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/getTimeIndex.H index 8ce3150b75672bbc0c3c1739f3e5f08e6b0c9729..b83ba15cef6405c848c02e6746397d4701204d93 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/getTimeIndex.H +++ b/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/getTimeIndex.H @@ -1,8 +1,8 @@ // Read time index from */uniform/time, but treat 0 and constant specially // or simply increment from the '-index' option if it was supplied - label timeIndex = 0; - +label timeIndex = 0; +{ if (optIndex) { timeIndex = indexingNumber++; @@ -37,7 +37,4 @@ continue; } } - - Info<< nl << "Time [" << timeIndex << "] = " << runTime.timeName() << nl; - -// end-of-file +}