|
ESyS-Particle
4.0.1
|
bonded elastic interaction between an edge in a 2d mesh and a particle More...
#include <BEdge2DInteraction.h>
Public Types | |
| typedef BMesh2DIP | ParameterType |
| typedef BMesh2DInteractionCpData | CheckPointable |
| Used by PIS to save/load check-point data for objects of this type. | |
Public Member Functions | |
| BEdge2DInteraction () | |
| BEdge2DInteraction (CParticle *, Edge2D *, BMesh2DIP, bool iflag=true) | |
| virtual | ~BEdge2DInteraction () |
| bool | isInner () |
| virtual void | calcForces () |
| bool | broken () |
| virtual Vec3 | getPos () const |
| int | getPid () const |
| int | getTid () const |
| virtual void | setPP (CParticle *part_p) |
| virtual void | setTP (Edge2D *tri_p) |
Friends | |
| class | TML_PackedMessageInterface |
bonded elastic interaction between an edge in a 2d mesh and a particle
default constructor
| BEdge2DInteraction::BEdge2DInteraction | ( | CParticle * | p, |
| Edge2D * | e, | ||
| BMesh2DIP | param, | ||
| bool | iflag = true |
||
| ) |
constructor with parameters
| p | a pointer to the particle |
| e | a pointer to the triangle |
| param | the interaction parameters |
| iflag |
References Edge2D::toLocal(), and BasicCon::XDebug().

| BEdge2DInteraction::~BEdge2DInteraction | ( | ) | [virtual] |
destructor
| bool BEdge2DInteraction::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 BEdge2DInteraction::calcForces | ( | ) | [virtual] |
calculate & apply forces
References CParticle::applyForce(), and Edge2D::toGlobal().

1.7.6.1