ESyS-Particle
4.0.1
|
unbonded elastic interaction between a Corner in a TriangleMesh and a particle More...
#include <ECorner2DInteraction.h>
Public Member Functions | |
ECornerInteraction () | |
ECornerInteraction (CParticle *, Corner *, ETriMeshIP, bool iflag=true) | |
virtual | ~ECornerInteraction () |
bool | isInner () |
virtual void | calcForces () |
unbonded elastic interaction between a Corner in a TriangleMesh and a particle
ECornerInteraction::ECornerInteraction | ( | ) |
default constructor
ECornerInteraction::ECornerInteraction | ( | CParticle * | p, |
Corner * | c, | ||
ETriMeshIP | param, | ||
bool | iflag = true |
||
) |
constructor with parameters
p | a pointer to the particle |
c | a pointer to the corner |
param | the interaction parameters |
iflag |
|
virtual |
destructor
|
virtual |
calculate & apply forces
References CParticle::applyForce(), Corner::getDirectionFromPoint(), Corner::isValidContact(), and Corner::sep().