![]() |
Block-Structured AMR Software Framework
|
#include <AMReX_ParticleTileRT.H>
Public Types | |
| using | Self = ParticleTileDataRT< RType, IType > |
| using | size_type = Long |
| using | ParticleType = RTSoAParticle< RType, IType > |
| using | RealType = RType |
| using | IntType = IType |
Public Member Functions | |
| __host__ __device__ constexpr | ParticleTileDataRT ()=default |
| __host__ __device__ constexpr | ParticleTileDataRT (size_type a_capacity, decltype(m_idcpu) a_idcpu, decltype(m_rdata) a_rdata, decltype(m_idata) a_idata, int a_n_real, int a_n_int) noexcept |
| template<class aRType , class aIType > | |
| __host__ __device__ constexpr | ParticleTileDataRT (ParticleTileDataRT< aRType, aIType > const &rhs) noexcept |
| __host__ __device__ RType & | pos (const int dir, const size_type index) const & |
| __host__ __device__ decltype(auto) | id (const size_type index) const & |
| __host__ __device__ decltype(auto) | cpu (const size_type index) const & |
| __host__ __device__ decltype(auto) | idcpu (const size_type index) const & |
| __host__ __device__ RType * | rdata (const int comp_index) const & |
| __host__ __device__ IType * | idata (const int comp_index) const & |
| __host__ __device__ RType & | rdata (const int comp_index, const size_type partice_index) const & |
| __host__ __device__ IType & | idata (const int comp_index, const size_type partice_index) const & |
| __host__ __device__ decltype(auto) | operator[] (const size_type index) const |
| __host__ __device__ void | packParticleData (char *buffer, size_type 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, size_type dst_index, const int *comm_real, const int *comm_int) const noexcept |
| __host__ __device__ Particle< 0, 0 > | getSuperParticle (size_type index) const noexcept |
Public Attributes | |
| size_type | m_capacity = 0 |
| std::conditional_t< is_const, const uint64_t *__restrict__, uint64_t *__restrict__ > | m_idcpu = nullptr |
| RType *__restrict__ | m_rdata = nullptr |
| IType *__restrict__ | m_idata = nullptr |
| int | m_n_real = 0 |
| int | m_n_int = 0 |
Static Public Attributes | |
| static constexpr bool | is_particle_tile_data = true |
| static constexpr bool | is_const = std::is_const_v<RType> |
| using amrex::ParticleTileDataRT< RType, IType >::IntType = IType |
| using amrex::ParticleTileDataRT< RType, IType >::ParticleType = RTSoAParticle<RType, IType> |
| using amrex::ParticleTileDataRT< RType, IType >::RealType = RType |
| using amrex::ParticleTileDataRT< RType, IType >::Self = ParticleTileDataRT<RType, IType> |
| using amrex::ParticleTileDataRT< RType, IType >::size_type = Long |
|
inlineconstexprdefault |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
staticconstexpr |
|
staticconstexpr |
| size_type amrex::ParticleTileDataRT< RType, IType >::m_capacity = 0 |
| IType* __restrict__ amrex::ParticleTileDataRT< RType, IType >::m_idata = nullptr |
| std::conditional_t<is_const, const uint64_t* __restrict__ , uint64_t* __restrict__ > amrex::ParticleTileDataRT< RType, IType >::m_idcpu = nullptr |
| int amrex::ParticleTileDataRT< RType, IType >::m_n_int = 0 |
| int amrex::ParticleTileDataRT< RType, IType >::m_n_real = 0 |
| RType* __restrict__ amrex::ParticleTileDataRT< RType, IType >::m_rdata = nullptr |