|
Cabana 0.8.0-dev
|
Store slice send/receive buffers. More...
#include <Cabana_CommunicationPlanBase.hpp>
Public Types | |
| using | particle_data_type = SliceType |
| Particle data type. | |
| using | memory_space = typename particle_data_type::memory_space |
| Kokkos memory space. | |
| using | data_type = typename particle_data_type::value_type |
| Communication data type. | |
| using | buffer_type |
| Communication buffer type. | |
Public Member Functions | |
| CommunicationDataSlice (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. | |
| void | setSliceComponents () |
| Get the total number of components in the slice. | |
Public Attributes | |
| buffer_type | _send_buffer |
| Send buffer. | |
| buffer_type | _recv_buffer |
| Receive buffer. | |
| particle_data_type | _particles |
| Particle slice. | |
| std::size_t | _num_comp |
| Slice components. | |
Store slice send/receive buffers.
| using Cabana::CommunicationDataSlice< SliceType >::buffer_type |
Communication buffer type.
|
inline |
Constructor
| particles | The particle data (either AoSoA or slice). |