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

Comments.

parent 9c2d5899
No related branches found
No related tags found
1 merge request!406Doself2 vectorisation
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment