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 | |
fillBufferFlag (WarpXParIter const &pti, amrex::iMultiFab const *bmasks, amrex::Gpu::DeviceVector< int > &inexflag, amrex::Geometry const &geom) | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (const int i) const |
Private Attributes | |
amrex::Box | m_domain |
int * | m_inexflag_ptr |
WarpXParticleContainer::ParticleTileType::ConstParticleTileDataType | m_ptd |
amrex::Array4< int const > | m_buffer_mask |
amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > | m_prob_lo |
amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > | m_inv_cell_size |
Functor that fills the elements of the particle array inexflag
with the value of the spatial array bmasks
, at the corresponding particle position.
[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 |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |