![]() |
|
#include <MpiDataClass.h>
Public Member Functions | |
void | copyDataFromMPIParticleToParticle (BaseParticle *p) |
Copies data from a BaseParticle to an MPIParticle class and returns this. More... | |
void | copyDataFromParticleToMPIParticle (BaseParticle *p) |
Static Public Member Functions | |
static BaseParticle * | newParticle () |
void MPISphericalParticle::copyDataFromMPIParticleToParticle | ( | BaseParticle * | p | ) |
Copies data from a BaseParticle to an MPIParticle class and returns this.
In order to create ghost particles on other processors, data of particles have to be transmitted to other processors. Only the required data is sent. The data is sent in an MPIParticle data class and this function copies the data from a particle into that class.
[in] | p | Pointer to a base particle from which data is copied |
Copies data from an MPIParticle class to a BaseParticle
When processors recieve data of ghost particles they have to add, they recieve them in the MPIParticle class. This function turns the MPIParticle class back into a BaseParticle and initialises hGrid values to "default"
[in] | bP | Pointer to an MPIParticle which contains data for a ghost particle |
[in,out] | p | Pointer to BaseParticle, a ghost particle that will be added to the domain |
References angularVelocity, communicationComplexity, HGridLevel, isFixed, isMaser, orientation, p, position, radius, and velocity.
Referenced by MPISuperQuadric::copyDataFromMPIParticleToParticle(), MPILiquidFilmParticle::copyDataFromMPIParticleToParticle(), and copyDataFromMPIParticleToParticle().
void MPISphericalParticle::copyDataFromParticleToMPIParticle | ( | BaseParticle * | p | ) |
References angularVelocity, communicationComplexity, HGridLevel, indSpecies, isFixed, isMaser, orientation, p, position, radius, and velocity.
Referenced by ParticleHandler::addGhostObject(), ParticleHandler::addObject(), InsertionBoundary::checkBoundaryBeforeTimeStep(), copyDataFromParticleToMPIParticle(), MPISuperQuadric::copyDataFromParticleToMPIParticle(), MPILiquidFilmParticle::copyDataFromParticleToMPIParticle(), and DPMBase::synchroniseParticle().
|
static |
Referenced by Domain::processReceivedBoundaryParticleData(), and PeriodicBoundaryHandler::processReceivedGhostParticleData().
Vec3D MPISphericalParticle::angularVelocity |
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().
unsigned MPISphericalParticle::communicationComplexity |
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().
bool MPISphericalParticle::isFixed |
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().
bool MPISphericalParticle::isMaser |
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().
Quaternion MPISphericalParticle::orientation |
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().
Vec3D MPISphericalParticle::position |
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().
Mdouble MPISphericalParticle::radius |
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().
Vec3D MPISphericalParticle::velocity |
Referenced by copyDataFromMPIParticleToParticle(), and copyDataFromParticleToMPIParticle().