ESyS-Particle  2.3.2
esys::lsm::BuoyancyIGP Class Reference

#include <BodyForceGroup.h>

Inheritance diagram for esys::lsm::BuoyancyIGP:
Collaboration diagram for esys::lsm::BuoyancyIGP:

Public Member Functions

 BuoyancyIGP ()
 BuoyancyIGP (const std::string &name, const Vec3 &acceleration, const double &fluidDensity, const double &fluidHeight)
virtual std::string getTypeString () const
virtual void packInto (CVarMPIBuffer *pBuffer) const
const double & getFluidDensity () const
const double & getFluidHeight () const
const Vec3getAcceleration () const
- Public Member Functions inherited from AIGParam
 AIGParam (const std::string &name="")
virtual ~AIGParam ()
void setName (const std::string &name)
const std::string & getName () const
const std::string & Name () const

Static Public Member Functions

static BuoyancyIGP extract (CVarMPIBuffer *pBuffer)

Private Attributes

Vec3 m_acceleration
double m_fluidDensity
double m_fluidHeight

Constructor & Destructor Documentation

esys::lsm::BuoyancyIGP::BuoyancyIGP ( )
inline

Referenced by extract().

Here is the caller graph for this function:

esys::lsm::BuoyancyIGP::BuoyancyIGP ( const std::string &  name,
const Vec3 acceleration,
const double &  fluidDensity,
const double &  fluidHeight 
)

Member Function Documentation

BuoyancyIGP esys::lsm::BuoyancyIGP::extract ( CVarMPIBuffer pBuffer)
static

References BuoyancyIGP(), CVarMPIBuffer::pop_double(), and CVarMPIBuffer::pop_string().

Referenced by TSubLattice< T >::addSingleIG().

Here is the call graph for this function:

Here is the caller graph for this function:

const Vec3 & esys::lsm::BuoyancyIGP::getAcceleration ( ) const

References m_acceleration.

const double & esys::lsm::BuoyancyIGP::getFluidDensity ( ) const

References m_fluidDensity.

const double & esys::lsm::BuoyancyIGP::getFluidHeight ( ) const

References m_fluidHeight.

virtual std::string esys::lsm::BuoyancyIGP::getTypeString ( ) const
inlinevirtual

Implements AIGParam.

Referenced by SIGCommand::appendBuoyancyIGP().

Here is the caller graph for this function:

void esys::lsm::BuoyancyIGP::packInto ( CVarMPIBuffer pBuffer) const
virtual

Reimplemented from AIGParam.

References CVarMPIBuffer::append(), AIGParam::getName(), m_acceleration, m_fluidDensity, m_fluidHeight, Vec3::X(), Vec3::Y(), and Vec3::Z().

Here is the call graph for this function:

Member Data Documentation

Vec3 esys::lsm::BuoyancyIGP::m_acceleration
private

Referenced by getAcceleration(), and packInto().

double esys::lsm::BuoyancyIGP::m_fluidDensity
private

Referenced by getFluidDensity(), and packInto().

double esys::lsm::BuoyancyIGP::m_fluidHeight
private

Referenced by getFluidHeight(), and packInto().


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