|
ESyS-Particle
2.3.4
|
#include <ECorner2DInteraction.h>

Public Member Functions | |
| ECorner2DInteraction () | |
| ECorner2DInteraction (CParticle *, Corner2D *, ETriMeshIP, bool iflag=true) | |
| ~ECorner2DInteraction () | |
| bool | isInner () |
| virtual void | calcForces () |
Private Attributes | |
| CParticle * | m_p |
| Corner2D * | m_corner |
| double | m_k |
| spring constant More... | |
| bool | m_inner_flag |
| ECorner2DInteraction::ECorner2DInteraction | ( | ) |
default constructor
References m_corner, m_inner_flag, m_k, m_p, and NULL.
| ECorner2DInteraction::ECorner2DInteraction | ( | CParticle * | p, |
| Corner2D * | 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 |
References ETriMeshIP::k, m_corner, m_inner_flag, m_k, and m_p.
| ECorner2DInteraction::~ECorner2DInteraction | ( | ) |
destructor
|
virtual |
calculate & apply forces
References CParticle::applyForce(), Corner2D::getDirectionFromPoint(), CBasicParticle::getPos(), CBasicParticle::getRad(), Corner2D::isValidContact(), m_corner, m_k, m_p, and Corner2D::sep().

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