Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
bf3875a3
Commit
bf3875a3
authored
8 years ago
by
James Willis
Browse files
Options
Downloads
Patches
Plain Diff
Comments.
parent
9c2d5899
No related branches found
No related tags found
1 merge request
!406
Doself2 vectorisation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cache.h
+9
-0
9 additions, 0 deletions
src/cache.h
with
9 additions
and
0 deletions
src/cache.h
+
9
−
0
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. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment