ESyS-Particle  2.3.4
ECornerInteraction Class Reference

unbonded elastic interaction between a Corner in a TriangleMesh and a particle More...

#include <ECornerInteraction.h>

Collaboration diagram for ECornerInteraction:

Public Member Functions

 ECornerInteraction ()
 
 ECornerInteraction (CParticle *, Corner *, ETriMeshIP, bool iflag=true)
 
virtual ~ECornerInteraction ()
 
bool isInner ()
 
virtual void calcForces ()
 

Private Attributes

CParticlem_p
 
Cornerm_corner
 
double m_k
 spring constant More...
 
bool m_inner_flag
 

Detailed Description

unbonded elastic interaction between a Corner in a TriangleMesh and a particle

Author
Steffen Abe
Revision
430
Date
2004-09-28 06:51:39 +0100 (Tue, 28 Sep 2004)
Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

◆ ECornerInteraction() [1/2]

ECornerInteraction::ECornerInteraction ( )

default constructor

References m_corner, m_inner_flag, m_k, m_p, and NULL.

◆ ECornerInteraction() [2/2]

ECornerInteraction::ECornerInteraction ( CParticle p,
Corner c,
ETriMeshIP  param,
bool  iflag = true 
)

constructor with parameters

Parameters
pa pointer to the particle
ca pointer to the corner
paramthe interaction parameters
iflag

References CParticle::getDo2dCalculations(), CBasicParticle::getRad(), ETriMeshIP::k, m_corner, m_inner_flag, m_k, and m_p.

Here is the call graph for this function:

◆ ~ECornerInteraction()

ECornerInteraction::~ECornerInteraction ( )
virtual

destructor

Member Function Documentation

◆ calcForces()

void ECornerInteraction::calcForces ( )
virtual

◆ isInner()

bool ECornerInteraction::isInner ( )
inline

References m_inner_flag.

Member Data Documentation

◆ m_corner

Corner* ECornerInteraction::m_corner
private

Referenced by calcForces(), and ECornerInteraction().

◆ m_inner_flag

bool ECornerInteraction::m_inner_flag
private

flag showing if particle is in the inner area of the local particle array - needed for global force summation

Referenced by calcForces(), ECornerInteraction(), and isInner().

◆ m_k

double ECornerInteraction::m_k
private

spring constant

Referenced by calcForces(), and ECornerInteraction().

◆ m_p

CParticle* ECornerInteraction::m_p
private

Referenced by calcForces(), and ECornerInteraction().


The documentation for this class was generated from the following files: