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

#include <interacton.h>

Inheritance diagram for Interacton:
BInteracton CInteracton CInteractonSphere

List of all members.

Public Member Functions

 Interacton ()
 Default constructor.
virtual ~Interacton ()
 Destructor.
virtual bool UpdateContacts (double alpha)=0
 Update contacts by verlet algorithm.
virtual void CalcForce (double dt=0.0)=0
 Calculates the contact force between particles.
virtual void UpdateParameters ()=0
 Update the parameters.

Public Attributes

ParticleP1
 First particle.
ParticleP2
 Second particle.
size_t I1
 Index of the first particle.
size_t I2
 Index of the second particle.

Constructor & Destructor Documentation

Interacton::Interacton ( ) [inline]

Default constructor.

virtual Interacton::~Interacton ( ) [inline, virtual]

Destructor.


Member Function Documentation

virtual void Interacton::CalcForce ( double  dt = 0.0) [pure virtual]

Calculates the contact force between particles.

Implemented in BInteracton, CInteractonSphere, and CInteracton.

virtual bool Interacton::UpdateContacts ( double  alpha) [pure virtual]

Update contacts by verlet algorithm.

Implemented in BInteracton, CInteractonSphere, and CInteracton.

virtual void Interacton::UpdateParameters ( ) [pure virtual]

Update the parameters.

Implemented in BInteracton, CInteractonSphere, and CInteracton.


Member Data Documentation

Index of the first particle.

Index of the second particle.

First particle.

Second particle.


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