|
WarpX
|
Functor that fills the elements of the particle array inexflag with the value of the spatial array bmasks, at the corresponding particle position.
More...
#include <SortingUtils.H>
Public Member Functions | |
| fillBufferFlagRemainingParticles (WarpXParIter const &pti, amrex::iMultiFab const *bmasks, amrex::Gpu::DeviceVector< int > &inexflag, amrex::Geometry const &geom, amrex::Gpu::DeviceVector< int > const &particle_indices, int start_index) | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (const int i) const |
Private Attributes | |
| amrex::GpuArray< amrex::Real, 3 > | m_prob_lo |
| amrex::GpuArray< amrex::Real, 3 > | m_inv_cell_size |
| amrex::Box | m_domain |
| int * | m_inexflag_ptr |
| WarpXParticleContainer::ParticleTileType::ConstParticleTileDataType | m_ptd |
| amrex::Array4< int const > | m_buffer_mask |
| int | m_start_index |
| int const * | m_indices_ptr |
Functor that fills the elements of the particle array inexflag with the value of the spatial array bmasks, at the corresponding particle position.
Contrary to fillBufferFlag, here this is done only for the particles that the last elements of particle_indices point to (from the element at index start_index in particle_indices, to the last element of particle_indices)
| [in] | pti | Contains information on the particle positions |
| [in] | bmasks | Spatial array, that contains a flag indicating whether each cell is part of the gathering/deposition buffers |
| [out] | inexflag | Vector to be filled with the value of bmasks |
| [in] | geom | Geometry object, necessary to locate particles within the array bmasks |
| [in] | start_index | Index that which elements start to be modified |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |