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>
|
| | 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 long i) const |
| |
Functor that fills the elements of the particle array inexflag with the value of the spatial array bmasks, at the corresponding particle position.
- Parameters
-
| [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 |
◆ fillBufferFlag()
| fillBufferFlag::fillBufferFlag |
( |
WarpXParIter const & |
pti, |
|
|
amrex::iMultiFab const * |
bmasks, |
|
|
amrex::Gpu::DeviceVector< int > & |
inexflag, |
|
|
amrex::Geometry const & |
geom |
|
) |
| |
|
inline |
◆ operator()()
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void fillBufferFlag::operator() |
( |
const long |
i | ) |
const |
|
inline |
◆ m_buffer_mask
| amrex::Array4<int const> fillBufferFlag::m_buffer_mask |
|
private |
◆ m_domain
| amrex::Box fillBufferFlag::m_domain |
|
private |
◆ m_inexflag_ptr
| int* fillBufferFlag::m_inexflag_ptr |
|
private |
◆ m_inv_cell_size
| amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> fillBufferFlag::m_inv_cell_size |
|
private |
◆ m_particles
◆ m_prob_lo
| amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> fillBufferFlag::m_prob_lo |
|
private |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/20.10/Source/Particles/Sorting/SortingUtils.H