diff --git a/examples/main_fof.c b/examples/main_fof.c index 98058e5c1a5ab182ef1d2878c56bb4bdbe50e752..e4b13187435e1eb600cae4ce05e9332650c4fddb 100644 --- a/examples/main_fof.c +++ b/examples/main_fof.c @@ -511,8 +511,7 @@ int main(int argc, char *argv[]) { space_init(&s, params, &cosmo, dim, parts, gparts, sparts, bparts, Ngas, Ngpart, Nspart, Nbpart, periodic, replicate, /*generate_gas_in_ics=*/0, /*hydro=*/N_total[0] > 0, /*gravity=*/1, - /*with_star_formation=*/0, with_DM_background_particles, - /*with_dithering=*/0, /*dithering_ratio=*/0., talking, + /*with_star_formation=*/0, with_DM_background_particles, talking, /*dry_run=*/0); if (myrank == 0) { diff --git a/src/space.c b/src/space.c index 55e1f655928e160a35ae43434f84f4f25e9ba840..d515d7ac5549e173e51840168629f45142a8a89a 100644 --- a/src/space.c +++ b/src/space.c @@ -1141,6 +1141,13 @@ void space_allocate_extras(struct space *s, int verbose) { free(local_cells); } +/** + * @brief Compute a new dithering vector to apply to all the particles + * in the simulation. + * + * @param s The #space. + * @param verbose Are we talkative? + */ void space_dither(struct space *s, int verbose) { /* Store the old dithering vector */