ESyS-Particle  2.3
esys::lsm::Contact Class Reference

#include <Contact.h>

Collaboration diagram for esys::lsm::Contact:

Public Member Functions

 Contact ()
 
 Contact (const ParticleData &pd1, const ParticleData &pd2, const Vec3 &forcePos, const Vec3 &force)
 
 Contact (const Contact &data)
 
const ParticleData & getParticle1 () const
 
const ParticleData & getParticle2 () const
 
const Vec3 & getCentrePos1 () const
 
double getVolume1 () const
 
const Vec3 & getCentrePos2 () const
 
double getVolume2 () const
 
const Vec3 & getForcePos () const
 
const Vec3 & getForce () const
 
bool operator== (const Contact &data) const
 
void write (std::ostream &oStream) const
 
void read (std::istream &iStream)
 

Private Attributes

ParticleData m_pd1
 
ParticleData m_pd2
 
Vec3 m_forcePos
 
Vec3 m_force
 

Constructor & Destructor Documentation

esys::lsm::Contact::Contact ( )
inline
esys::lsm::Contact::Contact ( const ParticleData &  pd1,
const ParticleData &  pd2,
const Vec3 &  forcePos,
const Vec3 &  force 
)
inline
esys::lsm::Contact::Contact ( const Contact &  data)
inline

Member Function Documentation

const Vec3& esys::lsm::Contact::getCentrePos1 ( ) const
inline

References getParticle1(), and esys::lsm::ParticleData::getPos().

Referenced by esys::lsm::ContactCollection::addContact().

Here is the call graph for this function:

Here is the caller graph for this function:

const Vec3& esys::lsm::Contact::getCentrePos2 ( ) const
inline

References getParticle2(), and esys::lsm::ParticleData::getPos().

Here is the call graph for this function:

const Vec3& esys::lsm::Contact::getForce ( ) const
inline

References m_force.

Referenced by esys::lsm::ContactCollection::addContactWithReverse().

Here is the caller graph for this function:

const Vec3& esys::lsm::Contact::getForcePos ( ) const
inline

References m_forcePos.

Referenced by esys::lsm::ContactCollection::addContactWithReverse().

Here is the caller graph for this function:

const ParticleData& esys::lsm::Contact::getParticle1 ( ) const
inline

References m_pd1.

Referenced by esys::lsm::ContactCollection::addContactWithReverse(), getCentrePos1(), and getVolume1().

Here is the caller graph for this function:

const ParticleData& esys::lsm::Contact::getParticle2 ( ) const
inline

References m_pd2.

Referenced by esys::lsm::ContactCollection::addContactWithReverse(), getCentrePos2(), and getVolume2().

Here is the caller graph for this function:

double esys::lsm::Contact::getVolume1 ( ) const
inline

References getParticle1(), and esys::lsm::ParticleData::getVolume().

Here is the call graph for this function:

double esys::lsm::Contact::getVolume2 ( ) const
inline

References getParticle2(), and esys::lsm::ParticleData::getVolume().

Here is the call graph for this function:

bool esys::lsm::Contact::operator== ( const Contact &  data) const
inline

References m_force, m_forcePos, m_pd1, and m_pd2.

void esys::lsm::Contact::read ( std::istream &  iStream)
inline

References m_force, m_forcePos, m_pd1, and m_pd2.

Referenced by esys::lsm::Raw2InteractionReader::next(), and operator>>().

Here is the caller graph for this function:

void esys::lsm::Contact::write ( std::ostream &  oStream) const
inline

References m_force, m_forcePos, m_pd1, and m_pd2.

Referenced by operator<<().

Here is the caller graph for this function:

Member Data Documentation

Vec3 esys::lsm::Contact::m_force
private

Referenced by getForce(), operator==(), read(), and write().

Vec3 esys::lsm::Contact::m_forcePos
private

Referenced by getForcePos(), operator==(), read(), and write().

ParticleData esys::lsm::Contact::m_pd1
private

Referenced by getParticle1(), operator==(), read(), and write().

ParticleData esys::lsm::Contact::m_pd2
private

Referenced by getParticle2(), operator==(), read(), and write().


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