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

Removed the limiter_in/limiter_out tasks from the cell structure.

parent d193a501
Branches
Tags
1 merge request!956Fully implement the timestep limiter (non MPI)
......@@ -362,12 +362,6 @@ struct cell {
/*! Linked list of the tasks computing this cell's limiter. */
struct link *limiter;
/*! Dependency implicit task for the time-step limiter (in->limiter->out)*/
struct task *limiter_in;
/*! Dependency implicit task for the time-step limiter (in->limiter->out)*/
struct task *limiter_out;
/*! Dependency implicit task for the ghost (in->ghost->out)*/
struct task *ghost_in;
......
......@@ -23,7 +23,7 @@
/* Time integration constants. */
#define const_max_u_change 0.1f
#define ICHECK 142844
#define ICHECK 116567
/* I/O Constant; this determines the relative tolerance between the value of
* redshift read from the snapshot, and the value from the parameter file. This
......
......@@ -216,7 +216,7 @@ void *runner_main(void *data) {
else if (t->subtype == task_subtype_force)
runner_dopair2_branch_force(r, ci, cj);
else if (t->subtype == task_subtype_limiter)
runner_dopair1_branch_limiter(r, ci, cj);
runner_dopair1_branch_limiter(r, ci, cj);
else if (t->subtype == task_subtype_grav)
runner_dopair_recursive_grav(r, ci, cj, 1);
else if (t->subtype == task_subtype_stars_density)
......@@ -248,7 +248,7 @@ void *runner_main(void *data) {
else if (t->subtype == task_subtype_force)
runner_dosub_self2_force(r, ci, 1);
else if (t->subtype == task_subtype_limiter)
runner_dosub_self1_limiter(r, ci, 1);
runner_dosub_self1_limiter(r, ci, 1);
else if (t->subtype == task_subtype_stars_density)
runner_dosub_self_stars_density(r, ci, 1);
else if (t->subtype == task_subtype_stars_feedback)
......@@ -278,7 +278,7 @@ void *runner_main(void *data) {
else if (t->subtype == task_subtype_force)
runner_dosub_pair2_force(r, ci, cj, 1);
else if (t->subtype == task_subtype_limiter)
runner_dosub_pair1_limiter(r, ci, cj, 1);
runner_dosub_pair1_limiter(r, ci, cj, 1);
else if (t->subtype == task_subtype_stars_density)
runner_dosub_pair_stars_density(r, ci, cj, 1);
else if (t->subtype == task_subtype_stars_feedback)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment