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

Merge branch 'small_fix_csds' into 'master'

Add missing lines for CSDS

See merge request !1373
parents 99051514 abee08df
No related branches found
No related tags found
1 merge request!1373Add missing lines for CSDS
......@@ -1835,6 +1835,10 @@ void scheduler_reweight(struct scheduler *s, int verbose) {
case task_type_rt_tchem:
cost = wscale * count_i;
break;
case task_type_csds:
cost =
wscale * (count_i + gcount_i + scount_i + sink_count_i + bcount_i);
break;
case task_type_kick1:
cost =
wscale * (count_i + gcount_i + scount_i + sink_count_i + bcount_i);
......
......@@ -150,6 +150,9 @@ void space_rebuild_recycle_mapper(void *map_data, int num_elements,
c->black_holes.do_gas_swallow = NULL;
c->black_holes.do_bh_swallow = NULL;
c->black_holes.feedback = NULL;
#ifdef WITH_CSDS
c->csds = NULL;
#endif
c->kick1 = NULL;
c->kick2 = NULL;
c->timestep = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment