|
ESyS-Particle
2.3.4
|
Abstract base class interactions between 2 rotational particles. More...
#include <RotPairInteraction.h>


Public Member Functions | |
| ARotPairInteraction () | |
| ARotPairInteraction (CRotParticle *, CRotParticle *) | |
| virtual | ~ARotPairInteraction () |
| const CParticle * | first () const |
| const CParticle * | second () const |
| CRotParticle * | first () |
| CRotParticle * | second () |
| pair< int, int > | getPairID () const |
| virtual Vec3 | getPos () const =0 |
| virtual void | calcForces ()=0 |
| void | checkIDs () |
| virtual bool | hasTag (int, int) const |
| virtual Vec3 | getPosFirst () const |
| virtual Vec3 | getPosSecond () const |
| void | setPP (CRotParticle *, CRotParticle *) |
| void | setPP (const vector< CRotParticle * >) |
| esys::lsm::quintuple< Vec3, double, Vec3, double, Vec3 > | getRaw2Data () const |
| virtual void | calcHeatTrans () |
| virtual void | calcHeatFrict () |
| virtual void | saveRestartData (std::ostream &oStream) |
| virtual void | loadRestartData (std::istream &iStream) |
Public Member Functions inherited from AInteraction | |
| AInteraction () | |
| virtual | ~AInteraction () |
| bool | initialized () const |
| vector< int > | getAllID () const |
| int | getID () |
| double | Count () const |
Protected Attributes | |
| CRotParticle * | m_p1 |
| CRotParticle * | m_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 |
Abstract base class interactions between 2 rotational particles.
| ARotPairInteraction::ARotPairInteraction | ( | ) |
References AInteraction::m_id, m_p1, m_p2, and NULL.
| ARotPairInteraction::ARotPairInteraction | ( | CRotParticle * | p1, |
| CRotParticle * | p2 | ||
| ) |
|
virtual |
|
pure virtual |
Implements AInteraction.
Implemented in CRotFrictionInteraction, CRotElasticInteraction, and CRotBondedInteraction.
|
inlinevirtual |
Reimplemented from AInteraction.
|
inlinevirtual |
Reimplemented from AInteraction.
| void ARotPairInteraction::checkIDs | ( | ) |
References CBasicParticle::getID(), AInteraction::m_id, m_p1, and m_p2.

|
inline |
References m_p1.
|
inline |
|
pure virtual |
Implemented in CRotFrictionInteraction, CRotElasticInteraction, and CRotBondedInteraction.
Referenced by getRaw2Data().

|
inlinevirtual |
Implements AInteraction.
References CBasicParticle::getPos(), and m_p1.

|
inlinevirtual |
Reimplemented from AInteraction.
References CBasicParticle::getPos(), and m_p2.

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

|
virtual |
check if any of the particles in the interaction fits tag & mask
| tag | the tag |
| mask | the mask |
Implements AInteraction.
References CBasicParticle::getTag(), m_p1, and m_p2.

|
inlinevirtual |
Reimplemented in CRotFrictionInteraction, CRotElasticInteraction, and CRotBondedInteraction.
|
inlinevirtual |
Reimplemented in CRotFrictionInteraction, CRotElasticInteraction, and CRotBondedInteraction.
|
inline |
References m_p2.
| void ARotPairInteraction::setPP | ( | const vector< CRotParticle * > | pp | ) |
| void ARotPairInteraction::setPP | ( | CRotParticle * | p1, |
| CRotParticle * | p2 | ||
| ) |
References CBasicParticle::getID(), AInteraction::m_id, m_p1, and m_p2.
Referenced by ARotPairInteraction(), and setPP().


|
protected |
Referenced by ARotPairInteraction(), CRotBondedInteraction::broken(), CRotBondedInteraction::calcForces(), CRotElasticInteraction::calcForces(), CRotFrictionInteraction::calcNormalForce(), CRotFrictionInteraction::calcRigidBodyForces(), CRotFrictionInteraction::calcSimpleForces(), checkIDs(), first(), CRotFrictionInteraction::getAbsSlip(), CRotBondedInteraction::getCentrePtDiff(), CRotBondedInteraction::getContactPoint(), CRotBondedInteraction::getInitialCentrePtDiff(), CRotBondedInteraction::getInitialMidPoint(), CRotBondedInteraction::getNormalForce(), CRotBondedInteraction::getP1ShearForcePt(), getPairID(), getPosFirst(), getRaw2Data(), CRotBondedInteraction::getShearDiff(), hasTag(), CRotFrictionInteraction::isPersistent(), operator<<(), and setPP().
|
protected |
Referenced by ARotPairInteraction(), CRotBondedInteraction::broken(), CRotBondedInteraction::calcForces(), CRotElasticInteraction::calcForces(), CRotFrictionInteraction::calcNormalForce(), CRotFrictionInteraction::calcRigidBodyForces(), CRotFrictionInteraction::calcSimpleForces(), checkIDs(), CRotFrictionInteraction::getAbsSlip(), CRotBondedInteraction::getCentrePtDiff(), CRotBondedInteraction::getContactPoint(), CRotBondedInteraction::getInitialCentrePtDiff(), CRotBondedInteraction::getInitialMidPoint(), CRotBondedInteraction::getNormalForce(), CRotBondedInteraction::getP2ShearForcePt(), getPairID(), getPosSecond(), getRaw2Data(), hasTag(), CRotFrictionInteraction::isPersistent(), operator<<(), second(), and setPP().