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

Merge branch 'compute_stats_all' into 'master'

Compute stats on all the particles

See merge request !1070
parents 7b63f320 b1ad30fa
No related branches found
No related tags found
1 merge request!1070Compute stats on all the particles
......@@ -255,10 +255,8 @@ void stats_collect_gpart_mapper(void *map_data, int nr_gparts,
/* Get the particle */
const struct gpart *gp = &gparts[k];
/* If the g-particle has a counterpart, ignore it */
if (gp->type != swift_type_dark_matter &&
gp->type != swift_type_dark_matter_background)
continue;
/* Ignore the hydro particles as they are already computed */
if (gp->type == swift_type_gas) continue;
/* Ignore non-existing particles */
if (gp->time_bin == time_bin_inhibited ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment