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
a121ffd4
Commit
a121ffd4
authored
8 years ago
by
James Willis
Browse files
Options
Downloads
Patches
Plain Diff
Added particle cache to runner.
parent
8b2993ea
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!287
Particle caching
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/runner.h
+5
-0
5 additions, 0 deletions
src/runner.h
with
5 additions
and
0 deletions
src/runner.h
+
5
−
0
View file @
a121ffd4
...
@@ -23,6 +23,8 @@
...
@@ -23,6 +23,8 @@
#ifndef SWIFT_RUNNER_H
#ifndef SWIFT_RUNNER_H
#define SWIFT_RUNNER_H
#define SWIFT_RUNNER_H
#include
"cache.h"
extern
const
double
runner_shift
[
13
][
3
];
extern
const
double
runner_shift
[
13
][
3
];
extern
const
char
runner_flip
[
27
];
extern
const
char
runner_flip
[
27
];
...
@@ -45,6 +47,9 @@ struct runner {
...
@@ -45,6 +47,9 @@ struct runner {
/*! The engine owing this runner. */
/*! The engine owing this runner. */
struct
engine
*
e
;
struct
engine
*
e
;
/*! The particle cache of this runner. */
struct
cache
par_cache
;
};
};
/* Function prototypes. */
/* Function prototypes. */
...
...
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