Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
bf3875a3
Commit
bf3875a3
authored
May 17, 2017
by
James Willis
Browse files
Comments.
parent
9c2d5899
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cache.h
View file @
bf3875a3
...
...
@@ -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. */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment