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

bonded elastic interaction between a Triangle and a particle More...

#include <BTriangleInteraction.h>

List of all members.

Public Types

typedef BTriMeshIP ParameterType
typedef BTriMeshInteractionCpData CheckPointable

Public Member Functions

 BTriangleInteraction ()
 BTriangleInteraction (CParticle *, Triangle *, BTriMeshIP, bool iflag=true)
virtual ~BTriangleInteraction ()
bool isInner ()
virtual void calcForces ()
bool broken ()
virtual Vec3 getPos () const
int getPid () const
int getTid () const
Vec3 getAP () const
virtual void setPP (CParticle *part_p)
virtual void setTP (Triangle *tri_p)

Friends

class TML_PackedMessageInterface

Detailed Description

bonded elastic interaction between a Triangle and a particle

Author:
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

BTriangleInteraction::BTriangleInteraction ( )

default constructor

BTriangleInteraction::BTriangleInteraction ( CParticle p,
Triangle t,
BTriMeshIP  param,
bool  iflag = true 
)

constructor with parameters

Parameters:
pa pointer to the particle
ta pointer to the triangle
paramthe interaction parameters
iflag

References Triangle::toLocal().

Here is the call graph for this function:

BTriangleInteraction::~BTriangleInteraction ( )
virtual

destructor


Member Function Documentation

bool BTriangleInteraction::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 BTriangleInteraction::calcForces ( )
virtual

calculate & apply forces

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

Here is the call graph for this function:


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