ESyS-Particle  2.3.4
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() [1/2]

EEdgeInteraction::EEdgeInteraction ( )

default constructor

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

◆ EEdgeInteraction() [2/2]

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::~EEdgeInteraction ( )
virtual

destructor

Member Function Documentation

◆ calcForces()

void EEdgeInteraction::calcForces ( )
virtual

◆ isInner()

bool EEdgeInteraction::isInner ( )
inline

References m_inner_flag.

Member Data Documentation

◆ m_edge

Edge* EEdgeInteraction::m_edge
private

Referenced by calcForces(), and EEdgeInteraction().

◆ m_inner_flag

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().

◆ m_k

double EEdgeInteraction::m_k
private

spring constant

Referenced by calcForces(), and EEdgeInteraction().

◆ m_p

CParticle* EEdgeInteraction::m_p
private

Referenced by calcForces(), and EEdgeInteraction().


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