ESyS-Particle  2.3
EEdgeInteraction Class Reference

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

#include <EEdgeInteraction.h>

Collaboration diagram for EEdgeInteraction:

Public Member Functions

 EEdgeInteraction ()
 
 EEdgeInteraction (CParticle *, Edge *, ETriMeshIP, bool iflag=true)
 
virtual ~EEdgeInteraction ()
 
bool isInner ()
 
virtual void calcForces ()
 

Private Attributes

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

Detailed Description

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

Author
Steffen Abe
Revision
Date
Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

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

Parameters
p
e
param
iflag

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

Here is the call graph for this function:

EEdgeInteraction::~EEdgeInteraction ( )
virtual

destructor

Member Function Documentation

void EEdgeInteraction::calcForces ( )
virtual
bool EEdgeInteraction::isInner ( )
inline

References m_inner_flag.

Member Data Documentation

Edge* EEdgeInteraction::m_edge
private

Referenced by calcForces(), and EEdgeInteraction().

bool EEdgeInteraction::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(), EEdgeInteraction(), and isInner().

double EEdgeInteraction::m_k
private

spring constant

Referenced by calcForces(), and EEdgeInteraction().

CParticle* EEdgeInteraction::m_p
private

Referenced by calcForces(), and EEdgeInteraction().


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