![]() |
Block-Structured AMR Software Framework
|
#include <AMReX_ParticleArray.H>
Public Types | |
| using | container_type = std::tuple< ContainerType< Types >... > |
| using | raw_type = amrex::GpuTuple< Types *... > |
| using | value_type = ParticleType< ref_wrapper< Types >... > |
Static Public Member Functions | |
| static constexpr raw_type | get_raw_data (container_type &a_container) |
| static constexpr void | resize (container_type &a_container, std::size_t a_size) |
| template<typename ValueType > | |
| static constexpr void | push_back (container_type &a_container, ValueType &&a_value) |
| static constexpr std::size_t | size (container_type &a_container) |
Implementation of the SoA policy. The underlying data structure is a Tuple<ContainerType<ParticleType>>. Note that unlike the AoS, this container works with a "ref_wrap"ed version of the particle data, so we can modify the particle data in the tile.
| using amrex::DataLayoutPolicy< ContainerType, ParticleType< Types... >, DataLayout::SoA >::container_type = std::tuple<ContainerType<Types>...> |
| using amrex::DataLayoutPolicy< ContainerType, ParticleType< Types... >, DataLayout::SoA >::raw_type = amrex::GpuTuple<Types*...> |
| using amrex::DataLayoutPolicy< ContainerType, ParticleType< Types... >, DataLayout::SoA >::value_type = ParticleType<ref_wrapper<Types>...> |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |