Store AoSoA send/receive buffers. More...
#include <Cabana_CommunicationPlan.hpp>
Public Types | |
using | particle_data_type = AoSoAType |
Particle data type. | |
using | memory_space = typename particle_data_type::memory_space |
Kokkos memory space. | |
using | data_type = typename particle_data_type::tuple_type |
Communication data type. | |
using | buffer_type = typename Kokkos::View<data_type*, memory_space> |
Communication buffer type. | |
Public Member Functions | |
CommunicationDataAoSoA (particle_data_type particles) | |
void | reallocateSend (const std::size_t num_send) |
Resize the send buffer. | |
void | reallocateReceive (const std::size_t num_recv) |
Resize the receive buffer. | |
Public Attributes | |
buffer_type | _send_buffer |
Send buffer. | |
buffer_type | _recv_buffer |
Receive buffer. | |
particle_data_type | _particles |
Particle AoSoA. | |
std::size_t | _num_comp = 0 |
Slice components. | |
Store AoSoA send/receive buffers.
|
inline |
Constructor
particles | The particle data (either AoSoA or slice). |