|
ESyS-Particle
4.0.1
|
bonded elastic interaction between a Triangle and a particle More...
#include <BTriangleInteraction.h>
Public Types | |
| typedef BTriMeshIP | ParameterType |
| typedef BTriMeshInteractionCpData | CheckPointable |
Public Member Functions | |
| BTriangleInteraction () | |
| BTriangleInteraction (CParticle *, Triangle *, BTriMeshIP, bool iflag=true) | |
| virtual | ~BTriangleInteraction () |
| bool | isInner () |
| virtual void | calcForces () |
| bool | broken () |
| virtual Vec3 | getPos () const |
| int | getPid () const |
| int | getTid () const |
| Vec3 | getAP () const |
| virtual void | setPP (CParticle *part_p) |
| virtual void | setTP (Triangle *tri_p) |
Friends | |
| class | TML_PackedMessageInterface |
bonded elastic interaction between a Triangle and a particle
default constructor
| BTriangleInteraction::BTriangleInteraction | ( | CParticle * | p, |
| Triangle * | t, | ||
| BTriMeshIP | param, | ||
| bool | iflag = true |
||
| ) |
constructor with parameters
| p | a pointer to the particle |
| t | a pointer to the triangle |
| param | the interaction parameters |
| iflag |
References Triangle::toLocal().

| BTriangleInteraction::~BTriangleInteraction | ( | ) | [virtual] |
destructor
| bool BTriangleInteraction::broken | ( | ) |
return if the interaction is broken, i.e. the distance between particle and anchor point exceeds breaking distance, i.e. relative breaking distance x particle readius
| void BTriangleInteraction::calcForces | ( | ) | [virtual] |
calculate & apply forces
References CParticle::applyForce(), and Triangle::toGlobal().

1.7.6.1