ESyS-Particle  2.3.4
ECorner2DInteraction Class Reference

#include <ECorner2DInteraction.h>

Collaboration diagram for ECorner2DInteraction:

Public Member Functions

 ECorner2DInteraction ()
 
 ECorner2DInteraction (CParticle *, Corner2D *, ETriMeshIP, bool iflag=true)
 
 ~ECorner2DInteraction ()
 
bool isInner ()
 
virtual void calcForces ()
 

Private Attributes

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

Constructor & Destructor Documentation

◆ ECorner2DInteraction() [1/2]

ECorner2DInteraction::ECorner2DInteraction ( )

default constructor

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

◆ ECorner2DInteraction() [2/2]

ECorner2DInteraction::ECorner2DInteraction ( CParticle p,
Corner2D 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 ETriMeshIP::k, m_corner, m_inner_flag, m_k, and m_p.

◆ ~ECorner2DInteraction()

ECorner2DInteraction::~ECorner2DInteraction ( )

destructor

Member Function Documentation

◆ calcForces()

void ECorner2DInteraction::calcForces ( )
virtual

◆ isInner()

bool ECorner2DInteraction::isInner ( )
inline

References m_inner_flag.

Member Data Documentation

◆ m_corner

Corner2D* ECorner2DInteraction::m_corner
private

Referenced by calcForces(), and ECorner2DInteraction().

◆ m_inner_flag

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

◆ m_k

double ECorner2DInteraction::m_k
private

spring constant

Referenced by calcForces(), and ECorner2DInteraction().

◆ m_p

CParticle* ECorner2DInteraction::m_p
private

Referenced by calcForces(), and ECorner2DInteraction().


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