Skip to content

Commit

Permalink
Correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiLehe committed Jul 21, 2017
1 parent d1ba59e commit 5897555
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fbpic/boundaries/particle_buffer_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ def remove_particles_gpu(species, fld, n_guard, left_proc, right_proc):
proc and right proc respectively, and where n_float and n_int
are the number of float and integer quantities respectively
"""
# Check if particles are sorted ; if not print a message and sort them
# Check if particles are sorted
# (The particles are usually expected to be sorted from the previous
# iteration at this point - except at the first iteration of `step`.)
if species.sorted == False:
species.sort_particles(fld = fld)
species.sorted = True
Expand Down

0 comments on commit 5897555

Please sign in to comment.