From a121ffd4f05e494fc9994acb1823e9807c43a333 Mon Sep 17 00:00:00 2001 From: James Willis <james.s.willis@durham.ac.uk> Date: Tue, 29 Nov 2016 14:42:15 +0000 Subject: [PATCH] Added particle cache to runner. --- src/runner.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/runner.h b/src/runner.h index a8caf24248..e7e4da40e0 100644 --- a/src/runner.h +++ b/src/runner.h @@ -23,6 +23,8 @@ #ifndef SWIFT_RUNNER_H #define SWIFT_RUNNER_H +#include "cache.h" + extern const double runner_shift[13][3]; extern const char runner_flip[27]; @@ -45,6 +47,9 @@ struct runner { /*! The engine owing this runner. */ struct engine *e; + + /*! The particle cache of this runner. */ + struct cache par_cache; }; /* Function prototypes. */ -- GitLab