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

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>

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

List of all members.

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

Detailed Description

Linear Dashpot Interaction between free or bonded particles (to be used in addition to an elastic or bonded Interaction, not exclusively)

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:

CLinearDashpotInteraction::CheckedScalarFieldFunction CLinearDashpotInteraction::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:

CLinearDashpotInteraction::ScalarFieldFunction CLinearDashpotInteraction::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
CLinearDashpotInteraction::VectorFieldFunction CLinearDashpotInteraction::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: