#include <AMReX_ParticleTile.H>
Public Types | |
| using | ParticleType = T_ParticleType |
| using | ParticleRefType = T_ParticleType & |
| using | Self = ParticleTileData< ParticleType, NAR, NAI > |
| using | RealType = ParticleReal |
| using | IntType = int |
| using | SuperParticleType = Particle< NStructReal+NAR, NStructInt+NAI > |
| using | AOS_PTR = std::conditional_t< T_ParticleType::is_soa_particle, void *restrict, ParticleType *restrict > |
Public Member Functions | |
| __host__ __device__ decltype(auto) | pos (const int dir, const int index) const & |
| __host__ __device__ decltype(auto) | id (const int index) const & |
| __host__ __device__ decltype(auto) | cpu (const int index) const & |
| __host__ __device__ decltype(auto) | idcpu (const int index) const & |
| __host__ __device__ ParticleReal * | rdata (const int attribute_index) const |
| __host__ __device__ int * | idata (const int attribute_index) const |
| __host__ __device__ decltype(auto) | operator[] (const int index) const |
| __host__ __device__ void | packParticleData (char *buffer, int src_index, std::size_t dst_offset, const int *comm_real, const int *comm_int) const noexcept |
| __host__ __device__ void | unpackParticleData (const char *buffer, Long src_offset, int dst_index, const int *comm_real, const int *comm_int) const noexcept |
| template<typename T = ParticleType, std::enable_if_t<!T::is_soa_particle, int > = 0> | |
| __host__ __device__ SuperParticleType | getSuperParticle (int index) const noexcept |
| template<typename T = ParticleType, std::enable_if_t< T::is_soa_particle, int > = 0> | |
| __host__ __device__ SuperParticleType | getSuperParticle (int index) const noexcept |
| template<typename T = ParticleType, std::enable_if_t<!T::is_soa_particle, int > = 0> | |
| __host__ __device__ void | setSuperParticle (const SuperParticleType &sp, int index) const noexcept |
| template<typename T = ParticleType, std::enable_if_t< T::is_soa_particle, int > = 0> | |
| __host__ __device__ void | setSuperParticle (const SuperParticleType &sp, int index) const noexcept |
Public Attributes | |
| Long | m_size |
| AOS_PTR | m_aos |
| uint64_t * | m_idcpu |
| GpuArray< ParticleReal *, NAR > | m_rdata |
| GpuArray< int *, NAI > | m_idata |
| int | m_num_runtime_real |
| int | m_num_runtime_int |
| ParticleReal *restrict *restrict | m_runtime_rdata |
| int *restrict *restrict | m_runtime_idata |
Static Public Attributes | |
| static constexpr int | NAR = NArrayReal |
| static constexpr int | NAI = NArrayInt |
| static constexpr int | NStructReal = ParticleType::NReal |
| static constexpr int | NStructInt = ParticleType::NInt |
| static constexpr bool | is_particle_tile_data = true |
| using amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::AOS_PTR = std::conditional_t<T_ParticleType::is_soa_particle, void * restrict , ParticleType * restrict > |
| using amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::IntType = int |
| using amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::ParticleRefType = T_ParticleType& |
| using amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::ParticleType = T_ParticleType |
| using amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::RealType = ParticleReal |
| using amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::Self = ParticleTileData<ParticleType, NAR, NAI> |
| using amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::SuperParticleType = Particle<NStructReal+NAR, NStructInt+NAI> |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
staticconstexpr |
| AOS_PTR amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::m_aos |
| GpuArray<int*, NAI> amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::m_idata |
| uint64_t* amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::m_idcpu |
| int amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::m_num_runtime_int |
| int amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::m_num_runtime_real |
| GpuArray<ParticleReal*, NAR> amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::m_rdata |
| int* restrict* restrict amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::m_runtime_idata |
| ParticleReal* restrict* restrict amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::m_runtime_rdata |
| Long amrex::ParticleTileData< T_ParticleType, NArrayReal, NArrayInt >::m_size |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |