|
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 |
Public Member Functions inherited from APairInteraction | |
| APairInteraction (CParticle *, CParticle *) | |
| const CParticle * | first () const |
| const CParticle * | second () const |
| CParticle * | first () |
| CParticle * | second () |
| 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 | |
| CParticle * | m_p1 |
| CParticle * | m_p2 |
Protected Attributes inherited from AInteraction | |
| vector< int > | m_id |
| id's of the particles involved | |
| int | m_iid |
| interaction id | |
| bool | m_init |
Hertzian Elastic Interaction between free particles.
|
virtual |
calculate forces
Implements APairInteraction.
References CParticle::applyForce().

|
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().

|
static |
Get the particle member function which returns a scalar field of a given name.
| name | the name of the field |
References getPotentialEnergy().

|
static |
Get the particle member function which returns a vector field of a given name.
| name | the name of the field |
References getForce().

1.8.1