ESyS-Particle
4.0.1
|
Hertzian ViscoElastic Interaction between free particles. More...
#include <HertzianViscoElasticInteraction.h>
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 |
![]() | |
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) |
![]() | |
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 | |
![]() | |
CParticle * | m_p1 |
CParticle * | m_p2 |
![]() | |
vector< int > | m_id |
id's of the particles involved | |
int | m_iid |
interaction id | |
bool | m_init |
Hertzian ViscoElastic Interaction between free particles.
|
virtual |
calculate forces
Implements APairInteraction.
References CParticle::applyForce().
|
static |
dummy
Vec3 CHertzianViscoElasticInteraction::getForce | ( | ) | const |
"field function" returning force currently exerted by interaction
Referenced by getVectorFieldFunction().
double CHertzianViscoElasticInteraction::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().