From 5ca9183c9e93bbc1c62056fce089933c477a36d9 Mon Sep 17 00:00:00 2001 From: Yupeng Xu Date: Tue, 2 Jan 2024 15:16:12 -0500 Subject: [PATCH] fix some typos --- docs/source_docs/particles/ParticlesOnGpus.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source_docs/particles/ParticlesOnGpus.rst b/docs/source_docs/particles/ParticlesOnGpus.rst index c553a11..29825ec 100644 --- a/docs/source_docs/particles/ParticlesOnGpus.rst +++ b/docs/source_docs/particles/ParticlesOnGpus.rst @@ -28,7 +28,7 @@ To port this algorithm to the GPU, we use the parallel algorithms library Thrust - Then, we sum these numbers and allocate space for our neighbor list. - Finally, we make a another pass over the particles, putting them into to list at the appropriate place. -Note that we build a \emph{full} neighbor list, meaning that if particle $i$ appears in particle $j$'s list, then particle $j$ also appears in particle $i$'s list. This simplifies the force-computation step when using these lists, since the forces and torques for a given particle can be updated without atomics. +Note that we build a full neighbor list, meaning that if particle `i` appears in particle `j`'s list, then particle `j` also appears in particle `i`'s list. This simplifies the force-computation step when using these lists, since the forces and torques for a given particle can be updated without atomics. The final on-grid neighbor list data structure consists of two arrays. First, we have the neighbor list itself, stored as a big, 1D array of particle indices. Then, we have an `offsets` array that stores, for each particle, where in the neighbor list array to look. The details of this data structure have been hidden inside an iterator, so that user code can look like: -- GitLab