|
ESyS-Particle
4.0.1
|
Elastic interaction with force limit between bonded particles. More...
#include <CappedBondedInteraction.h>


Public Types | |
| typedef CCappedBondedIGP | ParameterType |
| typedef double(CCappedBondedInteraction::* | ScalarFieldFunction )() const |
|
typedef pair< bool, double > (CCappedBondedInteraction::* | CheckedScalarFieldFunction )() const |
| typedef Vec3(CCappedBondedInteraction::* | VectorFieldFunction )() const |
Public Member Functions | |
| CCappedBondedInteraction (CParticle *particle1, CParticle *particle2, const CCappedBondedIGP ¶ms) | |
| virtual void | calcForces () |
Static Public Member Functions | |
| static ScalarFieldFunction | getScalarFieldFunction (const string &) |
| static CheckedScalarFieldFunction | getCheckedScalarFieldFunction (const string &) |
| static VectorFieldFunction | getVectorFieldFunction (const string &) |
| static string | getType () |
Protected Member Functions | |
| CCappedBondedInteraction (CParticle *, CParticle *) | |
Protected Attributes | |
| double | m_force_limit |
| maximum allowed force | |
Friends | |
| class | TML_PackedMessageInterface |
Elastic interaction with force limit between bonded particles.
| CCappedBondedInteraction::CCappedBondedInteraction | ( | CParticle * | p1, |
| CParticle * | p2 | ||
| ) | [protected] |
just do the APairInteraction part of the constructor - not to be used directly, only by derived class -> therefore protected
References CCappedBondedInteraction().
Referenced by CCappedBondedInteraction().


| void CCappedBondedInteraction::calcForces | ( | ) | [virtual] |
Calculate bonded elastic forces. 21 Flops
Reimplemented from CBondedInteraction.
References CParticle::applyForce(), CBondedInteraction::m_dist, CBondedInteraction::m_force, m_force_limit, CBondedInteraction::m_k, and CBondedInteraction::m_r0.

| CCappedBondedInteraction::CheckedScalarFieldFunction CCappedBondedInteraction::getCheckedScalarFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a checked scalar field of a given name.
| name | the name of the field |
Reimplemented from CBondedInteraction.
| CCappedBondedInteraction::ScalarFieldFunction CCappedBondedInteraction::getScalarFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a scalar field of a given name.
| name | the name of the field |
Reimplemented from CBondedInteraction.
References CBondedInteraction::getPotentialEnergy(), and CBondedInteraction::getStrain().

| CCappedBondedInteraction::VectorFieldFunction CCappedBondedInteraction::getVectorFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a vector field of a given name.
| name | the name of the field |
Reimplemented from CBondedInteraction.
References CBondedInteraction::getForce().

1.7.6.1