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
No related branches found
No related tags found
1 merge request!956Fully implement the timestep limiter (non MPI)
...@@ -362,12 +362,6 @@ struct cell { ...@@ -362,12 +362,6 @@ struct cell {
/*! Linked list of the tasks computing this cell's limiter. */ /*! Linked list of the tasks computing this cell's limiter. */
struct link *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)*/ /*! Dependency implicit task for the ghost (in->ghost->out)*/
struct task *ghost_in; struct task *ghost_in;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
/* Time integration constants. */ /* Time integration constants. */
#define const_max_u_change 0.1f #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 /* 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 * redshift read from the snapshot, and the value from the parameter file. This
......
...@@ -216,7 +216,7 @@ void *runner_main(void *data) { ...@@ -216,7 +216,7 @@ void *runner_main(void *data) {
else if (t->subtype == task_subtype_force) else if (t->subtype == task_subtype_force)
runner_dopair2_branch_force(r, ci, cj); runner_dopair2_branch_force(r, ci, cj);
else if (t->subtype == task_subtype_limiter) 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) else if (t->subtype == task_subtype_grav)
runner_dopair_recursive_grav(r, ci, cj, 1); runner_dopair_recursive_grav(r, ci, cj, 1);
else if (t->subtype == task_subtype_stars_density) else if (t->subtype == task_subtype_stars_density)
...@@ -248,7 +248,7 @@ void *runner_main(void *data) { ...@@ -248,7 +248,7 @@ void *runner_main(void *data) {
else if (t->subtype == task_subtype_force) else if (t->subtype == task_subtype_force)
runner_dosub_self2_force(r, ci, 1); runner_dosub_self2_force(r, ci, 1);
else if (t->subtype == task_subtype_limiter) 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) else if (t->subtype == task_subtype_stars_density)
runner_dosub_self_stars_density(r, ci, 1); runner_dosub_self_stars_density(r, ci, 1);
else if (t->subtype == task_subtype_stars_feedback) else if (t->subtype == task_subtype_stars_feedback)
...@@ -278,7 +278,7 @@ void *runner_main(void *data) { ...@@ -278,7 +278,7 @@ void *runner_main(void *data) {
else if (t->subtype == task_subtype_force) else if (t->subtype == task_subtype_force)
runner_dosub_pair2_force(r, ci, cj, 1); runner_dosub_pair2_force(r, ci, cj, 1);
else if (t->subtype == task_subtype_limiter) 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) else if (t->subtype == task_subtype_stars_density)
runner_dosub_pair_stars_density(r, ci, cj, 1); runner_dosub_pair_stars_density(r, ci, cj, 1);
else if (t->subtype == task_subtype_stars_feedback) 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