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