Elastic Interaction between free particles.
More...
#include <ElasticInteraction.h>
List of all members.
Public Types |
typedef double(CElasticInteraction::* | ScalarFieldFunction )() const |
typedef pair< bool, double >
(CElasticInteraction::* | CheckedScalarFieldFunction )() const |
typedef Vec3(CElasticInteraction::* | VectorFieldFunction )() const |
typedef CElasticIGP | ParameterType |
Public Member Functions |
| CElasticInteraction (CParticle *, CParticle *, const CElasticIGP &) |
virtual Vec3 | getPos () const |
double | getPotentialEnergy () const |
virtual void | calcForces () |
Vec3 | getForce () const |
virtual void | saveRestartData (std::ostream &oStream) |
virtual void | loadRestartData (std::istream &iStream) |
| 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) |
bool | initialized () const |
virtual void | calcHeatTrans () |
virtual void | calcHeatFrict () |
vector< int > | getAllID () const |
int | getID () |
double | Count () const |
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 |
Detailed Description
Elastic Interaction between free particles.
- Author:
- Steffen Abe $Revision$ $Date$
Member Function Documentation
void CElasticInteraction::calcForces |
( |
| ) |
|
|
virtual |
CElasticInteraction::CheckedScalarFieldFunction CElasticInteraction::getCheckedScalarFieldFunction |
( |
const string & |
name | ) |
|
|
static |
Get the particle member function which returns a checked scalar field of a given name.
- Parameters:
-
name | the name of the field |
double CElasticInteraction::getPotentialEnergy |
( |
| ) |
const |
CElasticInteraction::ScalarFieldFunction CElasticInteraction::getScalarFieldFunction |
( |
const string & |
name | ) |
|
|
static |
Get the particle member function which returns a scalar field of a given name.
- Parameters:
-
name | the name of the field |
References getPotentialEnergy().
CElasticInteraction::VectorFieldFunction CElasticInteraction::getVectorFieldFunction |
( |
const string & |
name | ) |
|
|
static |
Get the particle member function which returns a vector field of a given name.
- Parameters:
-
name | the name of the field |
void CElasticInteraction::loadRestartData |
( |
std::istream & |
iStream | ) |
|
|
virtual |
void CElasticInteraction::saveRestartData |
( |
std::ostream & |
oStream | ) |
|
|
virtual |
The documentation for this class was generated from the following files: