openfoam/applications/solvers/basic
Mark Olesen c2256e51f3 change solvers, utilities, etc. to use while (..) time-looping idiom
- this (now deprecated) idiom:
      for (runTime++; !runTime.end(); runTime++) { ... }
  has a few problems:
    * stop-on-next-write will be off-by-one (ie, doesn't work)
    * function objects are not executed on exit with runTime.end()
  Fixing these problems is not really possible.

- this idiom
      while (runTime.run())
      {
          runTime++;
          ...
      }
  works without the above problems.
2009-02-17 08:47:42 +01:00
..
laplacianFoam change solvers, utilities, etc. to use while (..) time-looping idiom 2009-02-17 08:47:42 +01:00
potentialFoam update copyrights for 2009 2008-12-31 19:01:56 +01:00
scalarTransportFoam change solvers, utilities, etc. to use while (..) time-looping idiom 2009-02-17 08:47:42 +01:00