ESyS-Particle
4.0.1
|
Hertzian ViscoElastic Interaction between free particles. More...
#include <HertzianViscoElasticInteraction.h>
Public Types | |
typedef double(CHertzianViscoElasticInteraction::* | ScalarFieldFunction )() const |
typedef Vec3(CHertzianViscoElasticInteraction::* | VectorFieldFunction )() const |
typedef pair< bool, double > (CHertzianViscoElasticInteraction::* | CheckedScalarFieldFunction )() const |
typedef CHertzianViscoElasticIGP | ParameterType |
Public Member Functions | |
CHertzianViscoElasticInteraction (CParticle *, CParticle *, const CHertzianViscoElasticIGP &) | |
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 &) |
Hertzian ViscoElastic Interaction between free particles.
void CHertzianViscoElasticInteraction::calcForces | ( | ) | [virtual] |
calculate forces
Implements APairInteraction.
References CParticle::applyForce().
CHertzianViscoElasticInteraction::CheckedScalarFieldFunction CHertzianViscoElasticInteraction::getCheckedScalarFieldFunction | ( | const string & | name | ) | [static] |
dummy
"field function" returning force currently exerted by interaction
Referenced by getVectorFieldFunction().
double CHertzianViscoElasticInteraction::getPotentialEnergy | ( | ) | const |
"field function" returning potential energy currently stored in interaction
Referenced by getScalarFieldFunction().
CHertzianViscoElasticInteraction::ScalarFieldFunction CHertzianViscoElasticInteraction::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 |
References getPotentialEnergy().
CHertzianViscoElasticInteraction::VectorFieldFunction CHertzianViscoElasticInteraction::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().