26 #ifndef MPIDATACLASS_H_
27 #define MPIDATACLASS_H_
void copyDataFromMPIParticleToParticle(BaseParticle *p)
Copies data from a BaseParticle to an MPIParticle class and returns this.
Implementation of a 3D quaternion (by Vitaliy).
std::vector< int > realPeriodicComplexity
void copyDataFromParticleToMPIParticle(BaseParticle *p)
static BaseParticle * newParticle()
Data class to send a particle velocity over MPI.
static BaseParticle * newParticle()
Data class to send an empty class over MPI.
MpiPeriodicParticleIDBase MpiPeriodicParticleID
MPIParticlePosition copyPositionFrom(BaseParticle *particle)
Copies the position from a particle to an MPIParticlePosition class.
void copyDataFromMPIParticleToParticle(BaseParticle *p)
static BaseParticle * newParticle()
void copyDataFromParticleToMPIParticle(BaseParticle *p)
Data class to send a particle over MPI.
std::vector< int > targetPeriodicComplexity
std::vector< int > periodicComplexity
MPIParticle copyDataFromParticleToMPIParticle(BaseParticle *p)
Copies data from a BaseParticle to an MPIParticle class and returns this.
Container to store all BaseParticle.
unsigned communicationComplexity
Data class to send a particle position over MPI.
void copyDataFromMPIParticleToParticle(MPIParticle *bP, BaseParticle *p, ParticleHandler *particleHandler)
Copies data from an MPIParticle class to a BaseParticle.
MPIParticleVelocity copyVelocityFrom(BaseParticle *particles)
Copies the velocity from a particle to an MPIParticleVelocity class.
BaseParticle * otherParticle
Data class to send a particle force over MPI.
Vec3D getMPISum(Vec3D &val)
Sums the values over all processors using MPI_reduce.
MpiPeriodicParticleIDBase MpiPeriodicGhostParticleID
void copyDataFromParticleToMPIParticle(BaseParticle *p)
void copyDataFromMPIParticleToParticle(BaseParticle *p)