#include <AMReX_ParticleArray.H>
Public Types | |
using | policy_type = DataLayoutPolicyRaw< ParticleType, DataLayoutTag > |
using | value_type = typename policy_type::value_type |
using | raw_type = typename policy_type::raw_type |
Public Member Functions | |
ParticleArrayAccessor (std::size_t a_size, raw_type a_data) | |
AMREX_GPU_HOST_DEVICE value_type | operator[] (std::size_t a_index) const |
AMREX_GPU_HOST_DEVICE std::size_t | size () const |
Static Public Attributes | |
static constexpr auto | data_layout = DataLayoutTag |
Private Attributes | |
std::size_t | m_size |
raw_type | m_data |
A Version of ParticleArray that contains only raw pointers, so that it can be copied by value into GPU kernels.
using amrex::ParticleArrayAccessor< ParticleType, DataLayoutTag >::policy_type = DataLayoutPolicyRaw<ParticleType, DataLayoutTag> |
using amrex::ParticleArrayAccessor< ParticleType, DataLayoutTag >::raw_type = typename policy_type::raw_type |
using amrex::ParticleArrayAccessor< ParticleType, DataLayoutTag >::value_type = typename policy_type::value_type |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
private |
|
private |