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

Ported engine.c

parent 3eadd7a6
No related branches found
No related tags found
2 merge requests!136Master,!79First version of the multiple time-stepping
......@@ -111,7 +111,7 @@ struct cell {
int nr_density, nr_force, nr_grav;
/* The ghost task to link density to interactions. */
struct task *ghost, *kick1, *kick2;
struct task *ghost, *init, *drift, *kick;
/* Task receiving data. */
struct task *recv_xv, *recv_rho;
......
This diff is collapsed.
......@@ -279,8 +279,10 @@ void space_regrid(struct space *s, double cell_max, int verbose) {
s->cells[k].sorted = 0;
s->cells[k].count = 0;
s->cells[k].gcount = 0;
s->cells[k].kick1 = NULL;
s->cells[k].kick2 = NULL;
s->cells[k].init = NULL;
s->cells[k].ghost = NULL;
s->cells[k].drift = NULL;
s->cells[k].kick = NULL;
s->cells[k].super = &s->cells[k];
}
s->maxdepth = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment