MPILiquidFilmParticle Class Reference

#include <MpiDataClass.h>

+ Inheritance diagram for MPILiquidFilmParticle:

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

Mdouble liquidVolume
 
- 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 MPILiquidFilmParticle::copyDataFromMPIParticleToParticle ( BaseParticle p)
93 {
95  static_cast<LiquidFilmParticle*>(p)->setLiquidVolume(liquidVolume);
96 }
Definition: LiquidFilmParticle.h:36
Mdouble liquidVolume
Definition: MpiDataClass.h:72
void copyDataFromMPIParticleToParticle(BaseParticle *p)
Copies data from a BaseParticle to an MPIParticle class and returns this.
Definition: MpiDataClass.cc:51

References MPISphericalParticle::copyDataFromMPIParticleToParticle(), and liquidVolume.

◆ copyDataFromParticleToMPIParticle()

void MPILiquidFilmParticle::copyDataFromParticleToMPIParticle ( BaseParticle p)
152  {
154  liquidVolume = static_cast<LiquidFilmParticle*>(p)->getLiquidVolume();
155 }
void copyDataFromParticleToMPIParticle(BaseParticle *p)
Definition: MpiDataClass.cc:131

References MPISphericalParticle::copyDataFromParticleToMPIParticle(), and liquidVolume.

◆ newParticle()

BaseParticle * MPILiquidFilmParticle::newParticle ( )
static
165  {
166  return new LiquidFilmParticle;
167 }
LiquidFilm< SphericalParticle > LiquidFilmParticle
Definition: LiquidFilmParticle.h:199

Member Data Documentation

◆ liquidVolume

Mdouble MPILiquidFilmParticle::liquidVolume

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