Skip to content
Snippets Groups Projects
Commit 4bf1ab6c authored by Tom Fischer's avatar Tom Fischer Committed by Dmitri Naumov
Browse files

[T] Are times equivalent for tiny time increments

parent 01ee0141
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "BaseLib/Logging.h" #include "BaseLib/Logging.h"
#include "NumLib/TimeStepping/Algorithms/TimeStepAlgorithm.h" #include "NumLib/TimeStepping/Algorithms/TimeStepAlgorithm.h"
#include "NumLib/TimeStepping/Time.h"
#include "NumLib/TimeStepping/TimeStep.h" #include "NumLib/TimeStepping/TimeStep.h"
namespace namespace
...@@ -50,6 +51,11 @@ std::vector<double> timeStepping(T_TIME_STEPPING& algorithm, ...@@ -50,6 +51,11 @@ std::vector<double> timeStepping(T_TIME_STEPPING& algorithm,
{ {
break; break;
} }
if (current_timestep.current() + timestepper_dt ==
current_timestep.current())
{
break;
}
if (!fixed_output_times.empty()) if (!fixed_output_times.empty())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment