ESyS-Particle  4.0.1
Public Types | Public Member Functions | Static Public Member Functions | List of all members
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]

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
- Public Member Functions inherited from APairInteraction
 APairInteraction (CParticle *, CParticle *)
const CParticlefirst () const
const CParticlesecond () const
CParticlefirst ()
CParticlesecond ()
pair< int, int > getPairID () const
void setPP (CParticle *, CParticle *)
void checkIDs ()
virtual bool hasTag (int, int) const
virtual Vec3 getPosFirst () const
virtual Vec3 getPosSecond () const
esys::lsm::quintuple< Vec3,
double, Vec3, double, Vec3
getRaw2Data () const
template<class TmplParticle >
void setPP (const vector< TmplParticle * > &pp)
virtual void saveRestartData (std::ostream &oStream)
virtual void loadRestartData (std::istream &iStream)
- Public Member Functions inherited from AInteraction
bool initialized () const
virtual void calcHeatTrans ()
virtual void calcHeatFrict ()
vector< int > getAllID () const
int getID ()
double Count () const

Static Public Member Functions

static ScalarFieldFunction getScalarFieldFunction (const string &)
static VectorFieldFunction getVectorFieldFunction (const string &)
static CheckedScalarFieldFunction getCheckedScalarFieldFunction (const string &)

Additional Inherited Members

- Protected Attributes inherited from APairInteraction
CParticlem_p1
CParticlem_p2

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

void CLinearDashpotInteraction::calcForces ( )
virtual

calculate forces

Implements APairInteraction.

References CParticle::applyForce().

Here is the call graph for this function:

CLinearDashpotInteraction::CheckedScalarFieldFunction CLinearDashpotInteraction::getCheckedScalarFieldFunction ( const string &  name)
static

dummy

Vec3 CLinearDashpotInteraction::getForce ( ) const

"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: