MechSys  1.0
Computing library for simulations in continuum and discrete mechanics
Public Member Functions | Public Attributes
BInteracton Class Reference

#include <interacton.h>

Inheritance diagram for BInteracton:
Interacton

List of all members.

Public Member Functions

 BInteracton (Particle *Pt1, Particle *Pt2, size_t Fi1, size_t Fi2)
 Constructor requires pointers to both particles and alos the indixes of the size they share.
bool UpdateContacts (double alpha)
 Update contacts by verlet algorithm.
void CalcForce (double dt=0.0)
 Calculates the contact force between particles.
void UpdateParameters ()
 Update the parameters in case they change.

Public Attributes

size_t F1
 Index of the shared face for particle 1.
size_t F2
 Index of the shared face for particle 2.
double Area
 Area of the shared side.
double Bn
 Elastic normal constant for the cohesion.
double Bt
 Elastic tangential constant for the cohesion.
double Bm
 Elastic for the cohesion torque.
double Gn
 Dissipative normal constant.
double Gt
 Dissipative tangential constant.
double L0
 Equilibrium distance.
double An
 Angular displacement.
double eps
 Maximun strain before fracture.
bool valid
 Check if the bound has not been broken.
double s1
double t1
 Planar coordinates for face F1.
double s2
double t2
 Planar coordinates for face F2.
Vec3_t Fnet
 Net force excerted by the interacton.

Constructor & Destructor Documentation

BInteracton::BInteracton ( Particle Pt1,
Particle Pt2,
size_t  Fi1,
size_t  Fi2 
) [inline]

Constructor requires pointers to both particles and alos the indixes of the size they share.


Member Function Documentation

void BInteracton::CalcForce ( double  dt = 0.0) [inline, virtual]

Calculates the contact force between particles.

Implements Interacton.

bool BInteracton::UpdateContacts ( double  alpha) [inline, virtual]

Update contacts by verlet algorithm.

Implements Interacton.

void BInteracton::UpdateParameters ( ) [inline, virtual]

Update the parameters in case they change.

Implements Interacton.


Member Data Documentation

Angular displacement.

Area of the shared side.

Elastic for the cohesion torque.

Elastic normal constant for the cohesion.

Elastic tangential constant for the cohesion.

Maximun strain before fracture.

Index of the shared face for particle 1.

Index of the shared face for particle 2.

Net force excerted by the interacton.

Dissipative normal constant.

Dissipative tangential constant.

Equilibrium distance.

Planar coordinates for face F1.

Planar coordinates for face F2.

Check if the bound has not been broken.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines