3 ensightCaseFile << nl << "TIME" << nl
4 << "time set: " << 1 << nl
5 << "number of steps: " << nTimeSteps << nl
6 << "filename start number: " << 0 << nl
7 << "filename increment: " << 1 << nl;
9 ensightCaseFile << "time values:" << nl;
11 ensightCaseFile.setf(ios_base::scientific, ios_base::floatfield);
12 ensightCaseFile.precision(5);
16 if (Times[0].value() < 0)
18 Tcorr = - Times[0].value();
19 Info << "Correcting time values. Adding " << Tcorr << endl;
22 for (int n=startTime; n<endTime; n++)
24 ensightCaseFile << setw(12) << Times[n].value() + Tcorr << " ";
28 ensightCaseFile << nl;
32 ensightCaseFile << nl;