ESyS-Particle  4.0.1
Public Types | Public Member Functions | Static Public Member Functions | Friends
CRotThermElasticInteraction Class Reference

#include <RotThermElasticInteraction.h>

Inheritance diagram for CRotThermElasticInteraction:
Inheritance graph
[legend]
Collaboration diagram for CRotThermElasticInteraction:
Collaboration graph
[legend]

List of all members.

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)
- Public Member Functions inherited from ARotThermPairInteraction
 ARotThermPairInteraction (CRotThermParticle *, CRotThermParticle *)
const CRotThermParticlefirst () const
const CRotThermParticlesecond () const
CRotThermParticlefirst ()
CRotThermParticlesecond ()
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
- Public Member Functions inherited from AInteraction
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

- Protected Attributes inherited from ARotThermPairInteraction
CRotThermParticlem_p1
CRotThermParticlem_p2
- Protected Attributes inherited from AInteraction
vector< int > m_id
 id's of the particles involved
int m_iid
 interaction id
bool m_init

Detailed Description

Elastic Interaction between free thermal, rotational particles


Member Function Documentation

void CRotThermElasticInteraction::calcForces ( )
virtual

Calculate free elastic forces. 23 Flops if in contact, 10 Flops if not

Implements ARotThermPairInteraction.

References CParticle::applyForce().

Here is the call graph for this function:

CRotThermElasticInteraction::CheckedScalarFieldFunction CRotThermElasticInteraction::getCheckedScalarFieldFunction ( const string &  name)
static

Get the particle member function which returns a checked scalar field of a given name.

Parameters:
namethe name of the field
double CRotThermElasticInteraction::getPotentialEnergy ( ) const

get the potential energy stored in the interaction

Referenced by getScalarFieldFunction().

Here is the caller graph for this function:

CRotThermElasticInteraction::ScalarFieldFunction CRotThermElasticInteraction::getScalarFieldFunction ( const string &  name)
static

Get the particle member function which returns a scalar field of a given name.

Parameters:
namethe name of the field

References getPotentialEnergy().

Here is the call graph for this function:

CRotThermElasticInteraction::VectorFieldFunction CRotThermElasticInteraction::getVectorFieldFunction ( const string &  name)
static

Get the particle member function which returns a vector field of a given name.

Parameters:
namethe name of the field
void CRotThermElasticInteraction::loadRestartData ( std::istream &  iStream)
virtual

load restart data from stream

Parameters:
iStreamthe input stream

References AInteraction::m_id.

void CRotThermElasticInteraction::saveRestartData ( std::ostream &  oStream)
virtual

save restart data to ostream

Parameters:
oStreamthe output stream

References AInteraction::m_id.


The documentation for this class was generated from the following files: