Skip to content
Snippets Groups Projects
Commit 61b92384 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Documentation, output header and Makefile update

parent cdad747a
Branches
Tags
2 merge requests!310Star particles and gparts links over MPI,!304Star particle infrastructure
......@@ -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++) {
......
......@@ -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 \
......
......@@ -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);
}
......
......@@ -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) {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment