MBSim |
Project Page |
Public Member Functions | |
| Gear (const std::string &name="") | |
| void | updateh (double, int i=0) |
| void | updateW (double, int i=0) |
| void | updateg (double) |
| void | updategd (double) |
| void | updateJacobians (double t, int j=0) |
| void | updatewb (double t, int i=0) |
| void | updatehRef (const fmatvec::Vec &hParent, int j=0) |
| references to complete and link smooth force vector of dynamic system parent | |
| void | updateWRef (const fmatvec::Mat &WParent, int j=0) |
| references to contact force direction matrix of dynamic system parent | |
| void | setDependentBody (RigidBody *body_) |
| void | addTransmission (const Transmission &transmission) |
| bool | isActive () const |
| bool | gActiveChanged () |
| std::string | getType () const |
| void | init (InitStage stage) |
| plots time series header | |
| bool | isSetValued () const |
| asks the link if it contains force laws that contribute to the lagrange multiplier and is therefore set valued | |
| bool | isSingleValued () const |
| asks the link if it contains single valued force laws that contribute to the right-hand side vector h | |
| virtual void | calclaSize (int j) |
| calculates size of contact force parameters | |
| virtual void | calcgSize (int j) |
| calculates size of relative distances | |
| virtual void | calcgdSize (int j) |
| calculates size of relative velocities | |
| void | setGeneralizedForceFunction (fmatvec::Function< double(double, double)> *func_) |
| void | plot (double t, double dt=1) |
| plots time dependent data | |
| void | initializeUsingXML (xercesc::DOMElement *element) |
Protected Attributes | |
|
fmatvec::Function< double(double, double)> * | func |
| std::vector< RigidBody * > | body |
| std::vector< double > | ratio |
| std::vector< Frame > | C |
| std::string | saved_DependentBody |
| std::vector< std::string > | saved_IndependentBody |
| bool MBSim::Gear::gActiveChanged | ( | ) | [inline, virtual] |
Implements MBSim::Link.
| std::string MBSim::Gear::getType | ( | ) | const [inline, virtual] |
Reimplemented from MBSim::LinkMechanics.
| void MBSim::Gear::init | ( | InitStage | stage | ) | [virtual] |
| bool MBSim::Gear::isActive | ( | ) | const [inline, virtual] |
Implements MBSim::Link.
| bool MBSim::Gear::isSetValued | ( | ) | const [virtual] |
asks the link if it contains force laws that contribute to the lagrange multiplier and is therefore set valued
Reimplemented from MBSim::Link.
| bool MBSim::Gear::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.
| void MBSim::Gear::plot | ( | double | t, |
| double | dt = 1 |
||
| ) | [virtual] |
plots time dependent data
| simulation | time |
| simulation | time step size for derivative calculation |
Reimplemented from MBSim::LinkMechanics.
1.8.0