ESyS-Particle  4.0.1
Public Types | Public Member Functions | Friends
BCorner2DInteraction Class Reference

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

#include <BCorner2DInteraction.h>

List of all members.

Public Types

typedef BMesh2DIP ParameterType

Public Member Functions

 BCorner2DInteraction ()
 BCorner2DInteraction (CParticle *, Corner2D *, BMesh2DIP, bool iflag=true)
bool isInner ()
virtual void calcForces ()
bool broken ()
virtual Vec3 getPos () const
int getPid () const
int getCid () const
virtual void setPP (CParticle *part_p)
virtual void setCP (Corner2D *corner_p)

Friends

class TML_PackedMessageInterface

Detailed Description

bonded elastic interaction between Corner2D in a 2d mesh and a particle

Author:
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

default constructor

BCorner2DInteraction::BCorner2DInteraction ( CParticle p,
Corner2D c,
BMesh2DIP  param,
bool  iflag = true 
)

constructor with parameters

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

References BasicCon::Critical(), Corner2D::getEdgeNormal(), and BasicCon::XDebug().

Here is the call graph for this function:


Member Function Documentation

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

calculate & apply forces

References CParticle::applyForce(), Corner2D::applyForceToEdge(), and Corner2D::getEdgeNormal().

Here is the call graph for this function:


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