diff --git a/dumux/common/timeloop.hh b/dumux/common/timeloop.hh index 7d1529d7d2f3d23be0a34a7c14e2c32e0239409a..83e135652f72a45aa1839980717a6914e21ef54c 100644 --- a/dumux/common/timeloop.hh +++ b/dumux/common/timeloop.hh @@ -419,14 +419,14 @@ public: //! Check point management, TimeLoop::isCheckPoint() has to be called after this! // if we reached a periodic check point - if (periodicCheckPoints_ && Dune::FloatCmp::eq(nextTime, lastPeriodicCheckPoint_ + deltaPeriodicCheckPoint_, 1e-8*dt)) + if (periodicCheckPoints_ && Dune::FloatCmp::eq(nextTime, lastPeriodicCheckPoint_ + deltaPeriodicCheckPoint_, 1e-7)) { lastPeriodicCheckPoint_ += deltaPeriodicCheckPoint_; isCheckPoint_ = true; } // or a manually set check point - else if (!checkPoints_.empty() && Dune::FloatCmp::eq(nextTime, checkPoints_.front(), 1e-8*dt)) + else if (!checkPoints_.empty() && Dune::FloatCmp::eq(nextTime, checkPoints_.front(), 1e-7)) { checkPoints_.pop(); isCheckPoint_ = true; @@ -482,7 +482,7 @@ public: << " seconds with the next check point at " << lastPeriodicCheckPoint_ + interval << " seconds." << std::endl; // check if the current time point is a check point - if (Dune::FloatCmp::eq(this->time(), lastPeriodicCheckPoint_, 1e-8*interval)) + if (Dune::FloatCmp::eq(this->time(), lastPeriodicCheckPoint_, 1e-7)) isCheckPoint_ = true; // make sure we respect this check point on the next time step