diff --git a/src/cache.h b/src/cache.h index 638127b19a6a7063a474510e8b1471a45e8997d3..a2e2f5b6846341664c45b39dce1ec031a69f09c8 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. */