ESyS-Particle  2.3
ARotThermPairInteraction Class Referenceabstract

#include <RotThermPairInteraction.h>

Inheritance diagram for ARotThermPairInteraction:
Collaboration diagram for ARotThermPairInteraction:

Public Member Functions

 ARotThermPairInteraction ()
 
 ARotThermPairInteraction (CRotThermParticle *, CRotThermParticle *)
 
virtual ~ARotThermPairInteraction ()
 
const CRotThermParticlefirst () const
 
const CRotThermParticlesecond () const
 
CRotThermParticlefirst ()
 
CRotThermParticlesecond ()
 
pair< int, int > getPairID () const
 
virtual Vec3 getPos () const =0
 
virtual void calcForces ()=0
 
virtual void calcHeatFrict ()
 
virtual void calcHeatTrans ()
 
void checkIDs ()
 
virtual bool hasTag (int, int) const
 
virtual Vec3 getPosFirst () const
 
virtual Vec3 getPosSecond () const
 
void setPP (CRotThermParticle *, CRotThermParticle *)
 
void setPP (const vector< CRotThermParticle * >)
 
esys::lsm::quintuple< Vec3,
double, Vec3, double, Vec3
getRaw2Data () const
 
- Public Member Functions inherited from AInteraction
 AInteraction ()
 
virtual ~AInteraction ()
 
bool initialized () const
 
vector< int > getAllID () const
 
int getID ()
 
double Count () const
 

Protected Attributes

CRotThermParticlem_p1
 
CRotThermParticlem_p2
 
- Protected Attributes inherited from AInteraction
vector< int > m_id
 id's of the particles involved More...
 
int m_iid
 interaction id More...
 
bool m_init
 

Detailed Description

Abstract base class interactions between 2 rotational particles

Constructor & Destructor Documentation

ARotThermPairInteraction::ARotThermPairInteraction ( )

References AInteraction::m_id, m_p1, m_p2, and NULL.

ARotThermPairInteraction::ARotThermPairInteraction ( CRotThermParticle p1,
CRotThermParticle p2 
)

References AInteraction::m_init, and setPP().

Here is the call graph for this function:

ARotThermPairInteraction::~ARotThermPairInteraction ( )
virtual

Member Function Documentation

virtual void ARotThermPairInteraction::calcForces ( )
pure virtual
virtual void ARotThermPairInteraction::calcHeatFrict ( )
inlinevirtual

Reimplemented from AInteraction.

Reimplemented in CRotThermFrictionInteraction.

virtual void ARotThermPairInteraction::calcHeatTrans ( )
inlinevirtual
void ARotThermPairInteraction::checkIDs ( )

References cout, CBasicParticle::getID(), AInteraction::m_id, m_p1, and m_p2.

Here is the call graph for this function:

const CRotThermParticle* ARotThermPairInteraction::first ( ) const
inline

References m_p1.

CRotThermParticle* ARotThermPairInteraction::first ( )
inline

References m_p1.

pair<int,int> ARotThermPairInteraction::getPairID ( ) const
inline

References CBasicParticle::getID().

Here is the call graph for this function:

virtual Vec3 ARotThermPairInteraction::getPos ( ) const
pure virtual

Implemented in CRotThermBondedInteraction, CRotThermFrictionInteraction, and CRotThermElasticInteraction.

Referenced by getRaw2Data().

Here is the caller graph for this function:

virtual Vec3 ARotThermPairInteraction::getPosFirst ( ) const
inlinevirtual

Implements AInteraction.

References CBasicParticle::getPos().

Here is the call graph for this function:

virtual Vec3 ARotThermPairInteraction::getPosSecond ( ) const
inlinevirtual

Reimplemented from AInteraction.

References CBasicParticle::getPos().

Here is the call graph for this function:

esys::lsm::quintuple<Vec3,double,Vec3,double,Vec3> ARotThermPairInteraction::getRaw2Data ( ) const
inline

References getPos(), CBasicParticle::getPos(), and CBasicParticle::getRad().

Here is the call graph for this function:

bool ARotThermPairInteraction::hasTag ( int  tag,
int  mask 
) const
virtual

check if any of the particles in the interaction fits tag & mask

Parameters
tagthe tag
maskthe mask

Implements AInteraction.

References CBasicParticle::getTag(), m_p1, and m_p2.

Here is the call graph for this function:

const CRotThermParticle* ARotThermPairInteraction::second ( ) const
inline

References m_p2.

CRotThermParticle* ARotThermPairInteraction::second ( )
inline

References m_p2.

void ARotThermPairInteraction::setPP ( CRotThermParticle p1,
CRotThermParticle p2 
)

References CBasicParticle::getID(), AInteraction::m_id, m_p1, and m_p2.

Referenced by ARotThermPairInteraction(), and setPP().

Here is the call graph for this function:

Here is the caller graph for this function:

void ARotThermPairInteraction::setPP ( const vector< CRotThermParticle * >  pp)

References setPP().

Here is the call graph for this function:

Member Data Documentation


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