MBSim |
Project Page |
Isotropic rotational spring damper force law. More...
#include <isotropic_rotational_spring_damper.h>
Public Member Functions | |
| IsotropicRotationalSpringDamper (const std::string &name) | |
| constructor | |
| virtual | ~IsotropicRotationalSpringDamper () |
| destructor | |
| virtual void | updateh (double t, int i=0) |
| virtual void | updateg (double t) |
| virtual void | updategd (double t) |
| virtual void | init (InitStage stage) |
| plots time series header | |
| virtual bool | isActive () const |
| virtual bool | gActiveChanged () |
| virtual bool | isSingleValued () const |
| asks the link if it contains single valued force laws that contribute to the right-hand side vector h | |
| void | connect (Frame *frame1, Frame *frame2) |
| void | setParameters (double c_, double d_, double alpha0_) |
| void | setMomentDirection (const fmatvec::Mat &md) |
Private Attributes | |
| double | c |
| stiffness, damping, relaxed angle | |
| double | d |
| double | alpha0 |
| fmatvec::Mat | momentDir |
| which angle projections should be used | |
| fmatvec::Index | IR |
| fmatvec::Mat | Wm |
| global moment direction | |
Isotropic rotational spring damper force law.
This class connects two frames and applies a torque which depends on the relative rotation and velocity between the two frames. Not considered: torsion around the first axis / rotation more than 180°
| MBSim::IsotropicRotationalSpringDamper::IsotropicRotationalSpringDamper | ( | const std::string & | name | ) |
constructor
| name | of isotropic roational spring damper |
| virtual bool MBSim::IsotropicRotationalSpringDamper::gActiveChanged | ( | ) | [inline, virtual] |
Implements MBSim::Link.
| virtual void MBSim::IsotropicRotationalSpringDamper::init | ( | InitStage | stage | ) | [virtual] |
| virtual bool MBSim::IsotropicRotationalSpringDamper::isActive | ( | ) | const [inline, virtual] |
Implements MBSim::Link.
| virtual bool MBSim::IsotropicRotationalSpringDamper::isSingleValued | ( | ) | const [inline, virtual] |
asks the link if it contains single valued force laws that contribute to the right-hand side vector h
Reimplemented from MBSim::Link.
1.8.0