|
ESyS-Particle
2.3.4
|
unbonded elastic interaction between a Edge in a TriangleMesh and a particle More...
#include <EEdgeInteraction.h>

Public Member Functions | |
| EEdgeInteraction () | |
| EEdgeInteraction (CParticle *, Edge *, ETriMeshIP, bool iflag=true) | |
| virtual | ~EEdgeInteraction () |
| bool | isInner () |
| virtual void | calcForces () |
Private Attributes | |
| CParticle * | m_p |
| Edge * | m_edge |
| double | m_k |
| spring constant More... | |
| bool | m_inner_flag |
| EEdgeInteraction::EEdgeInteraction | ( | ) |
default constructor
References m_edge, m_inner_flag, m_k, m_p, and NULL.
| EEdgeInteraction::EEdgeInteraction | ( | CParticle * | p, |
| Edge * | e, | ||
| ETriMeshIP | param, | ||
| bool | iflag = true |
||
| ) |
constructor with parameters
| p | |
| e | |
| param | |
| iflag |
References CParticle::getDo2dCalculations(), CBasicParticle::getRad(), ETriMeshIP::k, m_edge, m_inner_flag, m_k, and m_p.

|
virtual |
destructor
|
virtual |
calculate & apply forces
References CParticle::applyForce(), Edge::applyForce(), AEdge::dist(), Edge::getDirectionFromPoint(), CBasicParticle::getPos(), CBasicParticle::getRad(), Edge::isValidContact(), m_edge, m_inner_flag, m_k, and m_p.

|
inline |
References m_inner_flag.
|
private |
Referenced by calcForces(), and EEdgeInteraction().
|
private |
flag showing if particle is in the inner area of the local particle array - needed for global force summation
Referenced by calcForces(), EEdgeInteraction(), and isInner().
|
private |
spring constant
Referenced by calcForces(), and EEdgeInteraction().
|
private |
Referenced by calcForces(), and EEdgeInteraction().