Commit 4ebac269 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Create the star related tasks in the extra hydro-loop creation function with a...

Create the star related tasks in the extra hydro-loop creation function with a dependency on the SF task.
parent 63269afa
......@@ -35,9 +35,10 @@ Statistics:
# Parameters related to the initial conditions
InitialConditions:
file_name: fid.hdf5 # The file to read
file_name: lowres8.hdf5 # The file to read
periodic: 0 # Are we running with periodic ICs?
stars_smoothing_length: 0.3
# Parameters for the hydrodynamics scheme
SPH:
resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel).
......
......@@ -483,10 +483,11 @@ struct cell {
/*! The task computing this cell's sorts before the density. */
struct task *sorts_local;
/*! The task computing this cell's sorts before the feedback. */
struct task *sorts_foreign;
/*! The drift task for sparts */
struct task *drift;
/*! Max smoothing length in this cell. */
double h_max;
......
This diff is collapsed.
......@@ -226,6 +226,7 @@ void space_rebuild_recycle_mapper(void *map_data, int num_elements,
c->timestep_limiter = NULL;
c->end_force = NULL;
c->hydro.drift = NULL;
c->stars.drift = NULL;
c->grav.drift = NULL;
c->grav.drift_out = NULL;
c->hydro.cooling = NULL;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment