Commit 8d8aae94 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Temporarily switch off gravity tasks.

parent 6a12eeae
......@@ -311,12 +311,13 @@ int main(int argc, char *argv[]) {
/* How large are the parts? */
if (myrank == 0) {
message("sizeof(struct part) is %4zi bytes.", sizeof(struct part));
message("sizeof(struct xpart) is %4zi bytes.", sizeof(struct xpart));
message("sizeof(struct spart) is %4zi bytes.", sizeof(struct spart));
message("sizeof(struct gpart) is %4zi bytes.", sizeof(struct gpart));
message("sizeof(struct task) is %4zi bytes.", sizeof(struct task));
message("sizeof(struct cell) is %4zi bytes.", sizeof(struct cell));
message("sizeof(part) is %4zi bytes.", sizeof(struct part));
message("sizeof(xpart) is %4zi bytes.", sizeof(struct xpart));
message("sizeof(spart) is %4zi bytes.", sizeof(struct spart));
message("sizeof(gpart) is %4zi bytes.", sizeof(struct gpart));
message("sizeof(multipole) is %4zi bytes.", sizeof(struct multipole));
message("sizeof(task) is %4zi bytes.", sizeof(struct task));
message("sizeof(cell) is %4zi bytes.", sizeof(struct cell));
}
/* Read the parameter file */
......
......@@ -113,7 +113,7 @@ const char runner_flip[27] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
/* Import the gravity loop functions. */
#include "runner_doiact_fft.h"
#include "runner_doiact_grav.h"
//#include "runner_doiact_grav.h"
/**
* @brief Perform source terms
......@@ -1630,7 +1630,8 @@ void *runner_main(void *data) {
else if (t->subtype == task_subtype_force)
runner_doself2_force(r, ci);
else if (t->subtype == task_subtype_grav)
runner_doself_grav(r, ci, 1);
// runner_doself_grav(r, ci, 1);
;
else if (t->subtype == task_subtype_external_grav)
runner_do_grav_external(r, ci, 1);
else
......@@ -1647,7 +1648,8 @@ void *runner_main(void *data) {
else if (t->subtype == task_subtype_force)
runner_dopair2_force(r, ci, cj);
else if (t->subtype == task_subtype_grav)
runner_dopair_grav(r, ci, cj, 1);
// runner_dopair_grav(r, ci, cj, 1);#
;
else
error("Unknown/invalid task subtype (%d).", t->subtype);
break;
......@@ -1662,7 +1664,8 @@ 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_grav)
runner_dosub_grav(r, ci, cj, 1);
// runner_dosub_grav(r, ci, cj, 1);#
;
else if (t->subtype == task_subtype_external_grav)
runner_do_grav_external(r, ci, 1);
else
......@@ -1679,7 +1682,8 @@ void *runner_main(void *data) {
else if (t->subtype == task_subtype_force)
runner_dosub_pair2_force(r, ci, cj, t->flags, 1);
else if (t->subtype == task_subtype_grav)
runner_dosub_grav(r, ci, cj, 1);
// runner_dosub_grav(r, ci, cj, 1);
;
else
error("Unknown/invalid task subtype (%d).", t->subtype);
break;
......@@ -1735,7 +1739,8 @@ void *runner_main(void *data) {
break;
#endif
case task_type_grav_mm:
runner_do_grav_mm(r, t->ci, 1);
// runner_do_grav_mm(r, t->ci, 1);
;
break;
/* case task_type_grav_up: */
/* runner_do_grav_up(r, t->ci); */
......
......@@ -195,7 +195,7 @@ __attribute__((always_inline)) INLINE static enum task_actions task_acts_on(
break;
}
/* Silence compile warnings */
/* Silence compiler warnings */
error("Unknown task_action for task");
return task_action_none;
}
......
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