Skip to content
Snippets Groups Projects
Commit 54d9a2c1 authored by Bert Vandenbroucke's avatar Bert Vandenbroucke
Browse files

Added extra HYDRO_EXTRA_LOOP check in runner.c to make non GIZMO SPH versions compile.

parent 91fb4b8b
No related branches found
No related tags found
1 merge request!223Merge Gizmo-SPH into the master branch
...@@ -436,6 +436,7 @@ void runner_do_init(struct runner *r, struct cell *c, int timer) { ...@@ -436,6 +436,7 @@ void runner_do_init(struct runner *r, struct cell *c, int timer) {
* @param c The cell. * @param c The cell.
*/ */
void runner_do_extra_ghost(struct runner *r, struct cell *c) { void runner_do_extra_ghost(struct runner *r, struct cell *c) {
#ifdef HYDRO_EXTRA_LOOP
struct part *restrict parts = c->parts; struct part *restrict parts = c->parts;
const int count = c->count; const int count = c->count;
const int ti_current = r->e->ti_current; const int ti_current = r->e->ti_current;
...@@ -460,6 +461,7 @@ void runner_do_extra_ghost(struct runner *r, struct cell *c) { ...@@ -460,6 +461,7 @@ void runner_do_extra_ghost(struct runner *r, struct cell *c) {
} }
} }
} }
#endif
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment