![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <interacton.h>
Public Member Functions | |
CInteractonSphere (Particle *Pt1, Particle *Pt2) | |
Constructor requires pointers to both particles. | |
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. | |
Public Attributes | |
FrictionMap_t | Fdvv |
Static Friction displacement for the vertex vertex pair. | |
ListContacts_t | Lvv |
List of vertices. | |
Vec3_t | Fdr |
Rolling displacement. | |
double | beta |
Rolling stiffness coefficient. | |
double | eta |
Plastic moment coefficient. | |
Protected Member Functions | |
void | _update_rolling_resistance (double dt) |
Calculates the rolling resistance torque. |
CInteractonSphere::CInteractonSphere | ( | Particle * | Pt1, |
Particle * | Pt2 | ||
) | [inline] |
Constructor requires pointers to both particles.
void CInteractonSphere::_update_rolling_resistance | ( | double | dt | ) | [inline, protected] |
Calculates the rolling resistance torque.
void CInteractonSphere::CalcForce | ( | double | dt = 0.0 | ) | [inline, virtual] |
Calculates the contact force between particles.
Reimplemented from CInteracton.
bool CInteractonSphere::UpdateContacts | ( | double | alpha | ) | [inline, virtual] |
Update contacts by verlet algorithm.
Reimplemented from CInteracton.
void CInteractonSphere::UpdateParameters | ( | ) | [inline, virtual] |
Update the parameters.
Reimplemented from CInteracton.
double CInteractonSphere::beta |
Rolling stiffness coefficient.
double CInteractonSphere::eta |
Plastic moment coefficient.
Rolling displacement.
Static Friction displacement for the vertex vertex pair.
List of vertices.