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
..
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2008-07-08 19:13:07 +01:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2008-07-08 19:13:07 +01:00
2009-02-11 14:33:18 +00:00
2009-02-17 08:47:42 +01:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-13 09:01:17 +00:00
2009-02-17 08:47:42 +01:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2008-06-25 15:21:31 +01:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2009-02-11 14:33:18 +00:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00