Commit ae123a6e authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Code formatting

parent 06b50e49
......@@ -2246,7 +2246,7 @@ void engine_prepare(struct engine *e, int nodrift) {
TIMER_TOC(timer_prepare);
if (e->verbose)
message("took %.3f %s (including marktask, rebuild and reweight).",
message("took %.3f %s (including drift all, rebuild and reweight).",
clocks_from_ticks(getticks() - tic), clocks_getunit());
}
......
......@@ -157,7 +157,7 @@ void stats_collect_part_mapper(void *map_data, int nr_parts, void *extra_data) {
stats.E_pot_self += 0.f;
if (gp != NULL)
stats.E_pot_ext +=
m * external_gravity_get_potential_energy(potential, phys_const, gp);
m * external_gravity_get_potential_energy(potential, phys_const, gp);
stats.E_int += m * hydro_get_internal_energy(p, dt);
stats.E_rad += cooling_get_radiated_energy(xp);
......
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