13 #ifndef __FRICTIONINTERACTION_H
14 #define __FRICTIONINTERACTION_H
16 #include "Model/IGParam.h"
17 #include "Model/Interaction.h"
18 #include "Model/Particle.h"
19 #include "Foundation/vec3.h"
32 CFrictionIGP(
const std::string &name,
double normalK,
double fricCoef,
double shearK,
double dT,
bool scaling=
true);
34 virtual std::string getTypeString()
const {
return "Friction";}
36 void setTimeStepSize(
double dt);
86 static string getType() {
return "Friction";};
89 virtual bool isPersistent();
91 void setTimeStepSize(
double dt);
94 std::pair<bool,double>
getAbsFN()
const;
106 virtual double Count()
const;
112 std::pair<bool,double> getMuEffXY()
const {
return getMuEff(
Vec3(1.0,0.0,0.0),
Vec3(0.0,1.0,0.0));};
113 std::pair<bool,double> getMuEffXZ()
const {
return getMuEff(
Vec3(1.0,0.0,0.0),
Vec3(0.0,0.0,1.0));};
123 #endif //__FRICTIONINTERACTION_H