00001 #ifndef MDO_H 00002 #define MDO_H 00003 #include "mechanical.h" 00007 namespace dynamic 00008 { 00012 class mdo:public Mechanical 00013 { 00014 private: 00015 protected: 00016 public: 00017 mdo(); 00021 mdo(double weight, double rigidity, double damping=0, 00022 double defle=0, double speed=0); 00023 ~mdo(); 00027 double weight(); 00031 void weight(double weight); 00035 double force_spring(); 00039 double force_damper(); 00040 }; 00041 } 00042 #endif //MDO_H