ESyS-Particle  4.0.1
Public Types | Public Member Functions | Static Public Member Functions
CHertzianElasticInteraction Class Reference

Hertzian Elastic Interaction between free particles. More...

#include <HertzianElasticInteraction.h>

Inheritance diagram for CHertzianElasticInteraction:
Inheritance graph
[legend]
Collaboration diagram for CHertzianElasticInteraction:
Collaboration graph
[legend]

List of all members.

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 &)

Detailed Description

Hertzian Elastic Interaction between free particles.

Author:
Steffen Abe
Revision:
1201
Date:
2009-07-31 12:25:45 +0200 (Fri, 31 Jul 2009)

Member Function Documentation

calculate forces

Implements APairInteraction.

References CParticle::applyForce().

Here is the call graph for this function:

CHertzianElasticInteraction::CheckedScalarFieldFunction CHertzianElasticInteraction::getCheckedScalarFieldFunction ( const string &  name) [static]

dummy

"field function" returning force currently exerted by interaction

Referenced by getVectorFieldFunction().

Here is the caller graph for this function:

"field function" returning potential energy currently stored in interaction

Referenced by getScalarFieldFunction().

Here is the caller graph for this function:

CHertzianElasticInteraction::ScalarFieldFunction CHertzianElasticInteraction::getScalarFieldFunction ( const string &  name) [static]

Get the particle member function which returns a scalar field of a given name.

Parameters:
namethe name of the field

References getPotentialEnergy().

Here is the call graph for this function:

CHertzianElasticInteraction::VectorFieldFunction CHertzianElasticInteraction::getVectorFieldFunction ( const string &  name) [static]

Get the particle member function which returns a vector field of a given name.

Parameters:
namethe name of the field

References getForce().

Here is the call graph for this function:


The documentation for this class was generated from the following files: