Skip to content

Commit

Permalink
[NL/TimeStepping] Relax splitting the timestep
Browse files Browse the repository at this point in the history
The treshold to not to split the timestep is relaxed
  • Loading branch information
TomFischer committed May 3, 2024
1 parent 2b7447a commit 3fbc09f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NumLib/TimeStepping/Algorithms/FixedTimeStepping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ void incorporateFixedTimesForOutput(
begin(delta_ts), begin(delta_ts) + interval_number, t_initial);
auto const upper_bound = lower_bound + delta_ts[interval_number];
if (fixed_time_for_output - lower_bound <=
std::numeric_limits<double>::epsilon())
TimeStep::minimalTimeStepSize)
{
continue;
}
if (upper_bound - fixed_time_for_output <=
std::numeric_limits<double>::epsilon())
TimeStep::minimalTimeStepSize)
{
continue;
}
Expand Down

0 comments on commit 3fbc09f

Please sign in to comment.