![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <interacton.h>
Public Member Functions | |
Interacton (SPHParticle *Pt1, SPHParticle *Pt2) | |
Default constructor. | |
bool | UpdateContacts (double alpha) |
Update contacts by verlet algorithm. | |
void | CalcForce (double dt=0.0) |
Calculates the contact force between particles. | |
Public Attributes | |
SPHParticle * | P1 |
Pointer to first particle. | |
SPHParticle * | P2 |
Pointer to second particle. | |
double | alpha |
Coefficient of bulk viscosity. | |
double | beta |
Coefficient of Neumann - Richtmyer viscosity. | |
double | h |
Smoothing length. |
Interacton::Interacton | ( | SPHParticle * | Pt1, |
SPHParticle * | Pt2 | ||
) | [inline] |
Default constructor.
void Interacton::CalcForce | ( | double | dt = 0.0 | ) | [inline] |
Calculates the contact force between particles.
bool Interacton::UpdateContacts | ( | double | alpha | ) | [inline] |
Update contacts by verlet algorithm.
double SPH::Interacton::alpha |
Coefficient of bulk viscosity.
double SPH::Interacton::beta |
Coefficient of Neumann - Richtmyer viscosity.
double SPH::Interacton::h |
Smoothing length.
SPHParticle* SPH::Interacton::P1 |
Pointer to first particle.
SPHParticle* SPH::Interacton::P2 |
Pointer to second particle.