23 #include "mbsim/mechanical_link.h"
24 #include "mbsim/rigid_body.h"
25 #include "mbsim/frames/frame.h"
36 fmatvec::Vec3 WrP0Z, WrP1Z;
40 void updateh(
int i=0);
41 void updateW(
int i=0);
42 void updateJacobians(
int j=0);
48 void connect(
double r1,
Frame* frame1_,
double r2,
Frame* frame2_);
49 virtual void updatexd();
50 virtual void calcxSize();
60 void setForceFunction(
Function<
double(
double,
double)> *func_) {
62 func->setParent(
this);
65 void setReverse(
bool reverse_) { reverse = reverse_; }
void init(InitStage stage, const InitConfigSet &config)
plots time series header
Definition: gearing.cc:216
virtual void calcgSize(int j)
calculates size of relative distances
Definition: gearing.cc:48
bool isSetValued() const
asks the link if it contains force laws that contribute to the lagrange multiplier and is therefore s...
Definition: gearing.cc:133
void updatehRef(const fmatvec::Vec &hParent, int j=0)
references to complete and link smooth force vector of dynamic system parent
Definition: gearing.cc:92
bool isActive() const
Definition: gearing.h:52
bool gActiveChanged()
Definition: gearing.h:53
void updateWRef(const fmatvec::Mat &WParent, int j=0)
references to contact force direction matrix of dynamic system parent
Definition: gearing.cc:81
InitStage
The stages of the initialization.
Definition: element.h:62
std::string name
name of element
Definition: element.h:235
cartesian frame on bodies used for application of e.g. links and loads
Definition: frame.h:39
void setName(const std::string &str)
Definition: element.h:115
mechanical link
Definition: mechanical_link.h:31
virtual void calcgdSize(int j)
calculates size of gap velocities
Definition: gearing.cc:51
virtual void calclaSize(int j)
calculates size of contact force parameters
Definition: gearing.cc:45