Skip to content

No unnecessary loop in pair

Matthieu Schaller requested to merge no_unnecessary_loop_in_pair into master

This implements two tiny improvements:

  • In the PAIR task, only loop over the particles in a cell that has active particles.
  • In the ghost task, construct the list of indices of active particles only. No need to loop over the inactive ones.

Merge request reports