13 #ifndef __ROTTHERMELASTICINTERACTION_H
14 #define __ROTTHERMELASTICINTERACTION_H
16 #include "Model/RotThermPairInteraction.h"
17 #include "Model/RotThermParticle.h"
18 #include "Model/IGParam.h"
30 const std::string &name,
39 void setSpringConst(
double k){m_kr=k;};
40 double getSpringConst()
const{
return m_kr;};
43 void setDiffusivity(
double d){diffusivity = d;};
44 double getDiffusivity()
const{
return diffusivity ; };
49 virtual std::string getTypeString()
const
51 return "RotThermElastic";
87 virtual Vec3 getPos()
const {
return m_cpos;};
89 static string getType(){
return "RotThermElastic";}
92 void calcHeatTrans() ;
95 Vec3 getForce()
const;
98 Vec3 getBondedVector()
const ;
106 #endif //__ELASTICINTERACTION_H