#include <BoxSort.H>
◆ index_type
◆ boxCountsPtr() [1/2]
const index_type* BoxSorter::boxCountsPtr |
( |
| ) |
const |
|
inlinenoexcept |
returns the pointer to the permutation array
◆ boxCountsPtr() [2/2]
returns the pointer to the permutation array
◆ boxOffsetsPtr() [1/2]
const index_type* BoxSorter::boxOffsetsPtr |
( |
| ) |
const |
|
inlinenoexcept |
returns the pointer to the offsets array
◆ boxOffsetsPtr() [2/2]
returns the pointer to the offsets array
◆ sortParticlesByBox()
void BoxSorter::sortParticlesByBox |
( |
const amrex::Real * |
z_array, |
|
|
const index_type |
num_particles, |
|
|
const bool |
init_on_cpu, |
|
|
const amrex::Geometry & |
a_geom |
|
) |
| |
◆ m_box_counts_cpu
Number of particles in each box, stored on the cpu
◆ m_box_offsets_cpu
Index of the first particle in each box, stored on the cpu
◆ m_box_permutations
Index permutations m_box_permutations[new_idx] == old_idx use PolymorphicArenaAllocator to either use Pinned or Device memory at runtime
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/hipace/checkouts/stable/src/particles/sorting/BoxSort.H
- /home/docs/checkouts/readthedocs.org/user_builds/hipace/checkouts/stable/src/particles/sorting/BoxSort.cpp