00001 #ifndef RDO_H 00002 #define RDO_H 00003 #include "mechanical.h" 00007 namespace dynamic 00008 { 00012 class rdo:public Mechanical 00013 { 00014 private: 00015 protected: 00016 public: 00017 rdo(); 00021 rdo(double inertia, double rigidity, double damping=0, 00022 double defle=0, double speed=0); 00023 ~rdo(); 00027 double inertia(); 00031 void inertia(double inertia); 00035 double torque_spring(); 00039 double torque_damper(); 00045 double defle_form(double defle) throw(std::invalid_argument); 00046 //void calculation_const() throw(std::runtime_error,std::invalid_argument){}; 00047 //void calculation() throw(std::runtime_error,std::invalid_argument){}; 00048 }; 00049 } 00050 #endif //RDO_H