Commit 62ea2a87 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Removed debugging code

parent 6102664c
......@@ -111,12 +111,6 @@ __attribute__((always_inline)) INLINE static int get_part_timestep(
const float new_dt_self = FLT_MAX; // MATTHIEU
new_dt_grav = fminf(new_dt_external, new_dt_self);
if (p->id == -1) {
printParticle_single(p, xp);
message(" dt_hydro= %e, dt_grav_external= %e dt_grav_self=%e ",
new_dt_hydro, new_dt_external, new_dt_self);
}
}
/* Final time-step is minimum of hydro and gravity */
......@@ -129,7 +123,6 @@ __attribute__((always_inline)) INLINE static int get_part_timestep(
: FLT_MAX;
new_dt = fminf(new_dt, dt_h_change);
if (p->id == -1) message(" new_dt= %e", new_dt);
/* Limit timestep within the allowed range */
new_dt = fminf(new_dt, e->dt_max);
......
Supports Markdown
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