ESyS-Particle
4.0.1
|
Linear Dashpot Interaction between free or bonded particles (to be used in addition to an elastic or bonded Interaction, not exclusively) More...
#include <LinearDashpotInteraction.h>
Public Types | |
typedef double(CLinearDashpotInteraction::* | ScalarFieldFunction )() const |
typedef Vec3(CLinearDashpotInteraction::* | VectorFieldFunction )() const |
typedef pair< bool, double > (CLinearDashpotInteraction::* | CheckedScalarFieldFunction )() const |
typedef CLinearDashpotIGP | ParameterType |
Public Member Functions | |
CLinearDashpotInteraction (CParticle *, CParticle *, const CLinearDashpotIGP &) | |
virtual Vec3 | getPos () const |
double | getPotentialEnergy () const |
virtual void | calcForces () |
Vec3 | getForce () const |
Static Public Member Functions | |
static ScalarFieldFunction | getScalarFieldFunction (const string &) |
static VectorFieldFunction | getVectorFieldFunction (const string &) |
static CheckedScalarFieldFunction | getCheckedScalarFieldFunction (const string &) |
Linear Dashpot Interaction between free or bonded particles (to be used in addition to an elastic or bonded Interaction, not exclusively)
void CLinearDashpotInteraction::calcForces | ( | ) | [virtual] |
calculate forces
Implements APairInteraction.
References CParticle::applyForce().
CLinearDashpotInteraction::CheckedScalarFieldFunction CLinearDashpotInteraction::getCheckedScalarFieldFunction | ( | const string & | name | ) | [static] |
dummy
Vec3 CLinearDashpotInteraction::getForce | ( | ) | const |
"field function" returning force currently exerted by interaction
Referenced by getVectorFieldFunction().
CLinearDashpotInteraction::ScalarFieldFunction CLinearDashpotInteraction::getScalarFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a scalar field of a given name.
name | the name of the field |
CLinearDashpotInteraction::VectorFieldFunction CLinearDashpotInteraction::getVectorFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a vector field of a given name.
name | the name of the field |
References getForce().