MPISuperQuadric Class Reference

#include <MpiDataClass.h>

+ Inheritance diagram for MPISuperQuadric:

Public Member Functions

void copyDataFromMPIParticleToParticle (BaseParticle *p)
 
void copyDataFromParticleToMPIParticle (BaseParticle *p)
 
- Public Member Functions inherited from MPISphericalParticle
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 BaseParticlenewParticle ()
 
- Static Public Member Functions inherited from MPISphericalParticle
static BaseParticlenewParticle ()
 

Public Attributes

Vec3D axes
 
Mdouble epsilon1
 
Mdouble epsilon2
 
- Public Attributes inherited from MPISphericalParticle
unsigned int id
 
unsigned int indSpecies
 
unsigned int HGridLevel
 
Mdouble radius
 
Vec3D position
 
Vec3D angularVelocity
 
Vec3D velocity
 
Quaternion orientation
 
unsigned communicationComplexity
 
bool isMaser
 
bool isFixed
 

Member Function Documentation

◆ copyDataFromMPIParticleToParticle()

void MPISuperQuadric::copyDataFromMPIParticleToParticle ( BaseParticle p)
86 {
88  p->setAxes(axes);
90 }
virtual void setAxes(const Vec3D &axes)
Only ustilised in case of superquadric particles.
Definition: BaseParticle.h:527
virtual void setExponents(const Mdouble &eps1, const Mdouble &eps2)
Only ustilised in case of superquadric particles.
Definition: BaseParticle.h:532
void copyDataFromMPIParticleToParticle(BaseParticle *p)
Copies data from a BaseParticle to an MPIParticle class and returns this.
Definition: MpiDataClass.cc:51
Mdouble epsilon2
Definition: MpiDataClass.h:63
Vec3D axes
Definition: MpiDataClass.h:61
Mdouble epsilon1
Definition: MpiDataClass.h:62

References axes, MPISphericalParticle::copyDataFromMPIParticleToParticle(), epsilon1, epsilon2, BaseParticle::setAxes(), and BaseParticle::setExponents().

◆ copyDataFromParticleToMPIParticle()

void MPISuperQuadric::copyDataFromParticleToMPIParticle ( BaseParticle p)
145  {
147  axes = p->getAxes();
148  epsilon1 = p->getExponentEps1();
149  epsilon2 = p->getExponentEps2();
150 }
virtual Mdouble getExponentEps2() const
Only ustilised in case of superquadric particles. Had to create a virtual function to allow function ...
Definition: BaseParticle.cc:862
virtual Mdouble getExponentEps1() const
Only ustilised in case of superquadric particles. Had to create a virtual function to allow function ...
Definition: BaseParticle.cc:859
virtual Vec3D getAxes() const
Only ustilised in case of superquadric particles. Had to create a virtual function to allow function ...
Definition: BaseParticle.cc:856
void copyDataFromParticleToMPIParticle(BaseParticle *p)
Definition: MpiDataClass.cc:131

References axes, MPISphericalParticle::copyDataFromParticleToMPIParticle(), epsilon1, epsilon2, BaseParticle::getAxes(), BaseParticle::getExponentEps1(), and BaseParticle::getExponentEps2().

◆ newParticle()

BaseParticle * MPISuperQuadric::newParticle ( )
static
161  {
162  return new SuperQuadricParticle;
163 }
Definition: SuperQuadricParticle.h:57

Member Data Documentation

◆ axes

◆ epsilon1

◆ epsilon2


The documentation for this class was generated from the following files: