21 ContactModelThermalState() : power_(0.0), length_(0.0),
22 end1Temperature_(0.0), end2Temperature_(0.0), tempInc_(0.0), gapInc_(0.0)
25 ~ContactModelThermalState()
override { };
33 double end1Temperature_;
34 double end2Temperature_;
39 class CONTACTMODEL_EXPORT ContactModelThermal :
public IContactModelThermal
43 ContactModelThermal();
44 ~ContactModelThermal()
override;
46 static const char * getPluginPrefix() {
return "contactmodelthermal"; }
47 static const char * getPluginDirectory() {
return "contactmodels/thermal"; }
51 IContactModel * getContactModel()
override {
return this;}
52 const IContactModel * getContactModel()
const override {
return this;}
55 virtual bool endPropertyUpdated(
const string &name,
const IContactThermal *c)=0;
62 double getActivityDistance()
const override {
return 0.0;}
73 virtual double getEffectiveResistance()
const {
return 0.0;}
76 void getSphereList(
const IContact *,std::vector<DVect> *,std::vector<double> *,
77 std::vector<double> *)
override { }
79 void getDiskList(
const IContact *,std::vector<DVect> *,std::vector<DVect> *,
80 std::vector<double> *,std::vector<double> *)
override { }
82 void getCylinderList(
const IContact *,std::vector<DVect> *,std::vector<DVect> *,
83 std::vector<double> *,std::vector<double> *,
84 std::vector<double> *)
override { }