From bf3875a38e4e832750770836fc9f91e9c178797b Mon Sep 17 00:00:00 2001 From: James Willis <james.s.willis@durham.ac.uk> Date: Wed, 17 May 2017 11:43:43 +0100 Subject: [PATCH] Comments. --- src/cache.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/cache.h b/src/cache.h index 638127b19a..a2e2f5b684 100644 --- a/src/cache.h +++ b/src/cache.h @@ -63,10 +63,19 @@ struct cache { /* Particle z velocity. */ float *restrict vz __attribute__((aligned(CACHE_ALIGN))); + /* Particle density. */ float *restrict rho __attribute__((aligned(CACHE_ALIGN))); + + /* Particle smoothing length gradient. */ float *restrict grad_h __attribute__((aligned(CACHE_ALIGN))); + + /* Pressure over density squared. */ float *restrict pOrho2 __attribute__((aligned(CACHE_ALIGN))); + + /* Balsara switch. */ float *restrict balsara __attribute__((aligned(CACHE_ALIGN))); + + /* Particle sound speed. */ float *restrict soundspeed __attribute__((aligned(CACHE_ALIGN))); /* Maximum distance of particles into neighbouring cell. */ -- GitLab