Skip to content
Snippets Groups Projects
Commit a121ffd4 authored by James Willis's avatar James Willis
Browse files

Added particle cache to runner.

parent 8b2993ea
No related branches found
No related tags found
1 merge request!287Particle caching
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#ifndef SWIFT_RUNNER_H #ifndef SWIFT_RUNNER_H
#define SWIFT_RUNNER_H #define SWIFT_RUNNER_H
#include "cache.h"
extern const double runner_shift[13][3]; extern const double runner_shift[13][3];
extern const char runner_flip[27]; extern const char runner_flip[27];
...@@ -45,6 +47,9 @@ struct runner { ...@@ -45,6 +47,9 @@ struct runner {
/*! The engine owing this runner. */ /*! The engine owing this runner. */
struct engine *e; struct engine *e;
/*! The particle cache of this runner. */
struct cache par_cache;
}; };
/* Function prototypes. */ /* Function prototypes. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment