ESyS-Particle
4.0.1
|
#include <RotThermElasticInteraction.h>
Public Types | |
typedef double(CRotThermElasticInteraction::* | ScalarFieldFunction )() const |
typedef pair< bool, double > (CRotThermElasticInteraction::* | CheckedScalarFieldFunction )() const |
typedef Vec3(CRotThermElasticInteraction::* | VectorFieldFunction )() const |
typedef CRotThermElasticIGP | ParameterType |
Public Member Functions | |
CRotThermElasticInteraction (CRotThermParticle *, CRotThermParticle *, const CRotThermElasticIGP &) | |
virtual Vec3 | getPos () const |
virtual void | calcForces () |
void | calcHeatTrans () |
Vec3 | getForce () const |
double | getPotentialEnergy () const |
Vec3 | getBondedVector () const |
virtual void | saveRestartData (std::ostream &oStream) |
virtual void | loadRestartData (std::istream &iStream) |
![]() | |
ARotThermPairInteraction (CRotThermParticle *, CRotThermParticle *) | |
const CRotThermParticle * | first () const |
const CRotThermParticle * | second () const |
CRotThermParticle * | first () |
CRotThermParticle * | second () |
pair< int, int > | getPairID () const |
virtual void | calcHeatFrict () |
void | checkIDs () |
virtual bool | hasTag (int, int) const |
virtual Vec3 | getPosFirst () const |
virtual Vec3 | getPosSecond () const |
void | setPP (CRotThermParticle *, CRotThermParticle *) |
void | setPP (const vector< CRotThermParticle * >) |
esys::lsm::quintuple< Vec3, double, Vec3, double, Vec3 > | getRaw2Data () const |
![]() | |
bool | initialized () const |
vector< int > | getAllID () const |
int | getID () |
double | Count () const |
Static Public Member Functions | |
static ScalarFieldFunction | getScalarFieldFunction (const string &) |
static CheckedScalarFieldFunction | getCheckedScalarFieldFunction (const string &) |
static VectorFieldFunction | getVectorFieldFunction (const string &) |
static string | getType () |
Friends | |
ostream & | operator<< (ostream &, const CRotThermElasticInteraction &) |
Additional Inherited Members | |
![]() | |
CRotThermParticle * | m_p1 |
CRotThermParticle * | m_p2 |
Elastic Interaction between free thermal, rotational particles
|
virtual |
Calculate free elastic forces. 23 Flops if in contact, 10 Flops if not
Implements ARotThermPairInteraction.
References CParticle::applyForce().
|
static |
Get the particle member function which returns a checked scalar field of a given name.
name | the name of the field |
double CRotThermElasticInteraction::getPotentialEnergy | ( | ) | const |
get the potential energy stored in the 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 |
|
virtual |
|
virtual |