Skip to content
Snippets Groups Projects
Commit d59bc2a2 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL] TS; Remove an abort for repeated ts size.

parent 735f2f44
No related branches found
No related tags found
No related merge requests found
...@@ -583,27 +583,6 @@ bool UncoupledProcessesTimeLoop::loop() ...@@ -583,27 +583,6 @@ bool UncoupledProcessesTimeLoop::loop()
dt, timesteps, t); dt, timesteps, t);
break; break;
} }
// If this step was rejected twice with the same time step size, jump
// out this function directly with a failure flag and let the main
// function terminate the program.
if (std::abs(dt - prev_dt) < std::numeric_limits<double>::min() &&
_last_step_rejected)
{
ALERT(
"\tTime step %u is rejected and the new computed"
" step size (dt = %g) is the same as\n"
"\tthat was just used.\n"
"\tSuggest to adjust the parameters of the time"
" stepper or try other time stepper.\n"
"\tThe program will stop.",
dt, timesteps);
// save unsuccessful solution
const bool output_initial_condition = false;
outputSolutions(output_initial_condition, is_staggered_coupling,
timesteps, t, *_output, &Output::doOutputAlways);
return false;
}
} }
INFO( INFO(
......
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