diff --git a/examples/main.c b/examples/main.c index 4e3f8e3b6ee682319c8ed1d735ee3e302ecabc6f..54438f739dded20c2e17811fc9ec6f6b16206e73 100644 --- a/examples/main.c +++ b/examples/main.c @@ -563,8 +563,9 @@ int main(int argc, char *argv[]) { /* Legend */ if (myrank == 0) - printf("# %6s %14s %14s %10s %10s %16s [%s]\n", "Step", "Time", "Time-step", - "Updates", "g-Updates", "Wall-clock time", clocks_getunit()); + printf("# %6s %14s %14s %10s %10s %10s %16s [%s]\n", "Step", "Time", + "Time-step", "Updates", "g-Updates", "s-Updates", "Wall-clock time", + clocks_getunit()); /* Main simulation loop */ for (int j = 0; !engine_is_done(&e) && e.step != nsteps; j++) { diff --git a/src/Makefile.am b/src/Makefile.am index 7fe31212580ee7f55d599157f9fa76d2cca78192..885412888e5d243eb72c266607c6c2dcfae87d82 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -78,6 +78,7 @@ nobase_noinst_HEADERS = align.h approx_math.h atomic.h cycle.h error.h inline.h hydro/Gizmo/hydro_debug.h hydro/Gizmo/hydro_part.h \ riemann/riemann_hllc.h riemann/riemann_trrs.h \ riemann/riemann_exact.h riemann/riemann_vacuum.h \ + stars.h stars_io.h \ stars/Default/star.h stars/Default/star_iact.h stars/Default/star_io.h \ stars/Default/star_debug.h stars/Default/star_part.h \ potential/none/potential.h potential/point_mass/potential.h \ diff --git a/src/engine.c b/src/engine.c index 4092d95a0a06be582354a2384135f342b7101aed..c10659f96921b27e0539b7657386fec1dcafdcfb 100644 --- a/src/engine.c +++ b/src/engine.c @@ -3328,9 +3328,9 @@ void engine_init(struct engine *e, struct space *s, e->hydro_properties->delta_neighbours, e->hydro_properties->eta_neighbours); - fprintf(e->file_timesteps, "# %6s %14s %14s %10s %10s %16s [%s]\n", "Step", - "Time", "Time-step", "Updates", "g-Updates", "Wall-clock time", - clocks_getunit()); + fprintf(e->file_timesteps, "# %6s %14s %14s %10s %10s %10s %16s [%s]\n", + "Step", "Time", "Time-step", "Updates", "g-Updates", "s-Updates", + "Wall-clock time", clocks_getunit()); fflush(e->file_timesteps); } diff --git a/src/stars/Default/star.h b/src/stars/Default/star.h index 1f1b3940fe5da5468660262031001182ffc25cce..61ae4aeb5c51e18e39c3f4c6855d7c6ddfe05abb 100644 --- a/src/stars/Default/star.h +++ b/src/stars/Default/star.h @@ -59,7 +59,7 @@ __attribute__((always_inline)) INLINE static void star_init_spart( * @brief Sets the values to be predicted in the drifts to their values at a * kick time * - * @param s The particle. + * @param sp The particle. */ __attribute__((always_inline)) INLINE static void star_reset_predicted_values( struct spart* restrict sp) {} @@ -79,7 +79,6 @@ __attribute__((always_inline)) INLINE static void star_end_force( * * @param sp The particle to act upon * @param dt The time-step for this kick - * @param half_dt The half time-step for this kick */ __attribute__((always_inline)) INLINE static void star_kick_extra( struct spart* sp, float dt) {}