ESyS-Particle  4.0.1
Public Types | Public Member Functions | Friends | List of all members
BEdge2DInteraction Class Reference

bonded elastic interaction between an edge in a 2d mesh and a particle More...

#include <BEdge2DInteraction.h>

Public Types

typedef BMesh2DIP ParameterType
typedef BMesh2DInteractionCpData CheckPointable
 Used by PIS to save/load check-point data for objects of this type.

Public Member Functions

 BEdge2DInteraction ()
 BEdge2DInteraction (CParticle *, Edge2D *, BMesh2DIP, bool iflag=true)
virtual ~BEdge2DInteraction ()
bool isInner ()
virtual void calcForces ()
bool broken ()
virtual Vec3 getPos () const
int getPid () const
int getTid () const
virtual void setPP (CParticle *part_p)
virtual void setTP (Edge2D *tri_p)

Friends

class TML_PackedMessageInterface

Detailed Description

bonded elastic interaction between an edge in a 2d mesh and a particle

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

BEdge2DInteraction::BEdge2DInteraction ( )

default constructor

BEdge2DInteraction::BEdge2DInteraction ( CParticle p,
Edge2D e,
BMesh2DIP  param,
bool  iflag = true 
)

constructor with parameters

Parameters
pa pointer to the particle
ea pointer to the triangle
paramthe interaction parameters
iflag

References Edge2D::toLocal(), and BasicCon::XDebug().

Here is the call graph for this function:

BEdge2DInteraction::~BEdge2DInteraction ( )
virtual

destructor

Member Function Documentation

bool BEdge2DInteraction::broken ( )

return if the interaction is broken, i.e. the distance between particle and anchor point exceeds breaking distance, i.e. relative breaking distance x particle readius

void BEdge2DInteraction::calcForces ( )
virtual

calculate & apply forces

References CParticle::applyForce(), and Edge2D::toGlobal().

Here is the call graph for this function:


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