openfoam/applications/solvers
Mark Olesen dd8341f659 ENH: make format of ExecutionTime = ... output configurable (issue #788)
- controlled by the the 'printExecutionFormat' InfoSwitch in
  etc/controlDict

      // Style for "ExecutionTime = " output
      // - 0 = seconds (with trailing 's')
      // - 1 = day-hh:mm:ss

   ExecutionTime = 112135.2 s  ClockTime = 113017 s

   ExecutionTime = 1-07:08:55.20  ClockTime = 1-07:23:37

- Callable via the new Time::printExecutionTime() method,
  which also helps to reduce clutter in the applications.
  Eg,

     runTime.printExecutionTime(Info);

  vs

     Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
         << "  ClockTime = " << runTime.elapsedClockTime() << " s"
         << nl << endl;

--

ENH: return elapsedClockTime() and clockTimeIncrement as double

- previously returned as time_t, which is less portable.
2018-04-27 15:00:34 +02:00
..
basic ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
combustion ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
compressible ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
discreteMethods ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
DNS ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
doc STYLE: finiteArea doc and style updates 2017-12-18 11:25:53 +00:00
electromagnetics ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
financial ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
finiteArea ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
heatTransfer ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
incompressible ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
lagrangian ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
multiphase ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
stressAnalysis ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00