Commit ffd704b1 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

* "number of timesteps" finished

parent 1defa4bc
...@@ -549,8 +549,10 @@ namespace AMDiS { ...@@ -549,8 +549,10 @@ namespace AMDiS {
* computations must be done. * computations must be done.
*/ */
inline bool reachedEndTime() { inline bool reachedEndTime() {
return !(time < endTime - DBL_TOL || if (nTimesteps > 0)
(nTimesteps > 0 && timestepNumber < nTimesteps)); return !(timestepNumber < nTimesteps);
return !(time < endTime - DBL_TOL);
} }
/** \brief /** \brief
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment