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
d6eea398
Commit
d6eea398
authored
Feb 01, 2019
by
Matthieu Schaller
Browse files
Applied code formatting tool.
parent
6dc1b379
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/cache.h
View file @
d6eea398
...
...
@@ -255,7 +255,8 @@ __attribute__((always_inline)) INLINE int cache_read_particles(
}
/**
* @brief Populate cache by reading in the particles in unsorted order for doself_subset.
* @brief Populate cache by reading in the particles in unsorted order for
* doself_subset.
*
* @param ci The #cell.
* @param ci_cache The cache.
...
...
src/runner_doiact_vec.c
View file @
d6eea398
...
...
@@ -1763,7 +1763,8 @@ void runner_dopair_subset_density_vec(struct runner *r,
runner_shift_x
,
runner_shift_y
,
runner_shift_z
,
sort_j
,
max_index_i
,
0
);
/* Read the particles from the cell and store them locally in the cache. */
cache_read_particles_subset_pair
(
cj
,
cj_cache
,
sort_j
,
0
,
&
last_pj
,
ci
->
loc
,
0
);
cache_read_particles_subset_pair
(
cj
,
cj_cache
,
sort_j
,
0
,
&
last_pj
,
ci
->
loc
,
0
);
const
double
dj_min
=
sort_j
[
0
].
d
;
...
...
@@ -1899,7 +1900,8 @@ void runner_dopair_subset_density_vec(struct runner *r,
runner_shift_x
,
runner_shift_y
,
runner_shift_z
,
sort_j
,
max_index_i
,
1
);
/* Read the particles from the cell and store them locally in the cache. */
cache_read_particles_subset_pair
(
cj
,
cj_cache
,
sort_j
,
&
first_pj
,
0
,
ci
->
loc
,
1
);
cache_read_particles_subset_pair
(
cj
,
cj_cache
,
sort_j
,
&
first_pj
,
0
,
ci
->
loc
,
1
);
/* Get the number of particles read into the ci cache. */
const
int
cj_cache_count
=
count_j
-
first_pj
;
...
...
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