13 #ifndef __ROTELASTICINTERACTION_H
14 #define __ROTELASTICINTERACTION_H
16 #include "Model/RotPairInteraction.h"
17 #include "Model/RotParticle.h"
18 #include "Model/IGParam.h"
35 void setNormalSpringConst(
double k){m_kr=k;};
36 double getNormalSpringConst()
const{
return m_kr;};
38 virtual std::string getTypeString()
const {
return "RotElastic";}
76 virtual Vec3 getPos()
const {
return m_cpos;}
78 static string getType(){
return "RotElastic";}
82 Vec3 getForce()
const;
91 #endif //__ELASTICINTERACTION_H