Definition particle.hpp:26
A class for converting between Particle objects and ParticleData structs.
Definition particle_parser.hpp:17
static void StructToClass(Particle *const p_class, const ParticleData *const p_struct, const std::unordered_map< int, Shape * > &shape_map)
Converts a ParticleData struct to a Particle object.
Definition particle_parser.cpp:73
static void ClassToStruct(const Particle *const p_class, ParticleData *const p_struct)
Converts a Particle object to a ParticleData struct.
Definition particle_parser.cpp:7
static void DefineMPIDataType(MPI_Datatype *const datatype)
Defines an MPI datatype for the ParticleData struct.
Definition particle_parser.cpp:144
A struct defining the particle data for MPI communication.
Definition particle_data.hpp:17