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) |
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 &) |
Elastic Interaction between free thermal, rotational particles
void CRotThermElasticInteraction::calcForces | ( | ) | [virtual] |
Calculate free elastic forces. 23 Flops if in contact, 10 Flops if not
Implements ARotThermPairInteraction.
References CParticle::applyForce().
CRotThermElasticInteraction::CheckedScalarFieldFunction CRotThermElasticInteraction::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 |
double CRotThermElasticInteraction::getPotentialEnergy | ( | ) | const |
get the potential energy stored in the interaction
Referenced by getScalarFieldFunction().
CRotThermElasticInteraction::ScalarFieldFunction CRotThermElasticInteraction::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 |
References getPotentialEnergy().
CRotThermElasticInteraction::VectorFieldFunction CRotThermElasticInteraction::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 |
void CRotThermElasticInteraction::loadRestartData | ( | std::istream & | iStream | ) | [virtual] |
void CRotThermElasticInteraction::saveRestartData | ( | std::ostream & | oStream | ) | [virtual] |