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

#include <RotThermBondedInteraction.h>

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

List of all members.

Public Types

typedef CRotThermBondedIGP ParameterType
typedef BondedInteractionCpData CheckPointable
typedef double(CRotThermBondedInteraction::* ScalarFieldFunction )() const
typedef pair< bool, double >
(CRotThermBondedInteraction::* 
CheckedScalarFieldFunction )() const
typedef Vec3(CRotThermBondedInteraction::* VectorFieldFunction )() const

Public Member Functions

 CRotThermBondedInteraction (CRotThermParticle *, CRotThermParticle *, const CRotThermBondedIGP &)
int getTag () const
void setTag (int tag)
void calcForces ()
void calcHeatTrans ()
bool broken ()
Vec3 getBondedVector1 () const
Vec3 getBondedVector2 () const
double getPotentialEnergy () const
double getNormalPotentialEnergy () const
double getShearPotentialEnergy () const
double getTwistPotentialEnergy () const
double getBendPotentialEnergy () const
double getCriterion () const
Vec3 getForce () const
virtual Vec3 getPos () const
Vec3 getCentrePtDiff () const
Vec3 getInitialCentrePtDiff () const
Vec3 getInitialMidPoint () const
Vec3 getShearDiff () const
virtual void saveCheckPointData (std::ostream &oStream)
virtual void loadCheckPointData (std::istream &iStream)
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

class TML_PackedMessageInterface
ostream & operator<< (ostream &, const CRotThermBondedInteraction &)

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

Interaction between bonded, thermal, rotational particles


Member Typedef Documentation

Used by PIS to save/load check-point data for objects of this type.


Member Function Documentation

CRotThermBondedInteraction::CheckedScalarFieldFunction CRotThermBondedInteraction::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
CRotThermBondedInteraction::ScalarFieldFunction CRotThermBondedInteraction::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
CRotThermBondedInteraction::VectorFieldFunction CRotThermBondedInteraction::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 CRotThermBondedInteraction::loadRestartData ( std::istream &  iStream)
virtual

load restart data from stream

Parameters:
iStreamthe input stream

References AInteraction::m_id.

void CRotThermBondedInteraction::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: