Commit d6eea398 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Applied code formatting tool.

parent 6dc1b379
......@@ -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.
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment