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

Hertzian ViscoElastic Interaction between free particles. More...

#include <HertzianViscoElasticInteraction.h>

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

List of all members.

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
- 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
- Protected Attributes inherited from AInteraction
vector< int > m_id
 id's of the particles involved
int m_iid
 interaction id
bool m_init

Detailed Description

Hertzian ViscoElastic Interaction between free particles.

Author:
Laura Heredia & Pablo Richeri
Revision:
1
Date:
2009-12-13 19:00:00 -0300 (Sun, 13 Dec 2009)

Member Function Documentation

void CHertzianViscoElasticInteraction::calcForces ( )
virtual

calculate forces

Implements APairInteraction.

References CParticle::applyForce().

Here is the call graph for this function:

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

dummy

Vec3 CHertzianViscoElasticInteraction::getForce ( ) const

"field function" returning force currently exerted by interaction

Referenced by getVectorFieldFunction().

Here is the caller graph for this function:

double CHertzianViscoElasticInteraction::getPotentialEnergy ( ) const

"field function" returning potential energy currently stored in interaction

Referenced by getScalarFieldFunction().

Here is the caller graph for this function:

CHertzianViscoElasticInteraction::ScalarFieldFunction CHertzianViscoElasticInteraction::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:

CHertzianViscoElasticInteraction::VectorFieldFunction CHertzianViscoElasticInteraction::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: