#include <ShuffleFisherYates.H>
◆ IndependentPairHelper()
template<typename index_type>
Constructor.
- Parameters
-
| [in] | a_n_cells | the number of cells in this tile |
| [in] | a_cell_offsets_1 | the offset array storing the number of particles per cell for species 1 |
| [in] | a_cell_offsets_2 | the offset array storing the number of particles per cell for species 2 |
◆ collisionOffsetsPtr()
template<typename index_type>
◆ Initialize()
template<typename index_type>
◆ numIndependentPairs()
template<typename index_type>
◆ shuffle()
template<typename index_type>
Shuffle the particles in each cell using the Fisher-Yates algorithm, for both species.
- Parameters
-
| [in,out] | a_indices_1 | the indices of the particles sorted by cell for species 1 |
| [in,out] | a_indices_2 | the indices of the particles sorted by cell for species 2 |
◆ m_cell_offsets_1
template<typename index_type>
◆ m_cell_offsets_2
template<typename index_type>
◆ m_coll_offsets
template<typename index_type>
◆ m_n_cells
template<typename index_type>
◆ m_n_ind_pairs_in_each_cell
template<typename index_type>
◆ m_n_independent_pairs
template<typename index_type>
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/6102/Source/Particles/Collision/BinaryCollision/ShuffleFisherYates.H