Definition particle.hpp:26
A class for converting between Particle objects and ParticleDataGPU structs.
Definition particle_parser_gpu.hpp:16
static void ClassToStruct(const Particle *const p_class, ParticleDataGPU *const p_struct)
Converts a Particle object to a ParticleDataGPU struct.
Definition particle_parser_gpu.cpp:6
static void StructToClass(Particle *const p_class, const ParticleDataGPU *const p_struct, const std::unordered_map< int, Shape * > &shape_map)
Converts a ParticleDataGPU struct to a Particle object.
Definition particle_parser_gpu.cpp:72
A struct defining the particle data for MPI communication.
Definition particle_data_gpu.hpp:17