ESyS-Particle  2.3.4
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, Vec3getRaw2Data () 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() [1/2]

ARotThermPairInteraction::ARotThermPairInteraction ( )

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

◆ ARotThermPairInteraction() [2/2]

ARotThermPairInteraction::ARotThermPairInteraction ( CRotThermParticle p1,
CRotThermParticle p2 
)

References AInteraction::m_init, and setPP().

Here is the call graph for this function:

◆ ~ARotThermPairInteraction()

ARotThermPairInteraction::~ARotThermPairInteraction ( )
virtual

Member Function Documentation

◆ calcForces()

virtual void ARotThermPairInteraction::calcForces ( )
pure virtual

◆ calcHeatFrict()

virtual void ARotThermPairInteraction::calcHeatFrict ( )
inlinevirtual

Reimplemented from AInteraction.

Reimplemented in CRotThermFrictionInteraction.

◆ calcHeatTrans()

virtual void ARotThermPairInteraction::calcHeatTrans ( )
inlinevirtual

◆ checkIDs()

void ARotThermPairInteraction::checkIDs ( )

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

Here is the call graph for this function:

◆ first() [1/2]

CRotThermParticle* ARotThermPairInteraction::first ( )
inline

References m_p1.

◆ first() [2/2]

const CRotThermParticle* ARotThermPairInteraction::first ( ) const
inline

References m_p1.

◆ getPairID()

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

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

Here is the call graph for this function:

◆ getPos()

virtual Vec3 ARotThermPairInteraction::getPos ( ) const
pure virtual

Implemented in CRotThermFrictionInteraction, CRotThermElasticInteraction, and CRotThermBondedInteraction.

Referenced by getRaw2Data().

Here is the caller graph for this function:

◆ getPosFirst()

virtual Vec3 ARotThermPairInteraction::getPosFirst ( ) const
inlinevirtual

Implements AInteraction.

References CBasicParticle::getPos(), and m_p1.

Here is the call graph for this function:

◆ getPosSecond()

virtual Vec3 ARotThermPairInteraction::getPosSecond ( ) const
inlinevirtual

Reimplemented from AInteraction.

References CBasicParticle::getPos(), and m_p2.

Here is the call graph for this function:

◆ getRaw2Data()

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

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

Here is the call graph for this function:

◆ hasTag()

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:

◆ second() [1/2]

CRotThermParticle* ARotThermPairInteraction::second ( )
inline

References m_p2.

◆ second() [2/2]

const CRotThermParticle* ARotThermPairInteraction::second ( ) const
inline

References m_p2.

◆ setPP() [1/2]

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

References setPP().

Here is the call graph for this function:

◆ setPP() [2/2]

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:

Member Data Documentation

◆ m_p1

◆ m_p2


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