Definition of the derivative of the user link forces laws. More...
Macros | |
#define | _USE_MATH_DEFINES |
Functions | |
double | user_LinkForces_dq (double Z, double d_Z, double Zd, double d_Zd, MbsData *mbs_data, double tsim, int i_link, int ixJ) |
Compute the partial derivative of a link forces with respect to a generalized coordinate. More... | |
double | user_LinkForces_dqd (double Z, double d_Z, double Zd, double d_Zd, MbsData *mbs_data, double tsim, int i_link, int ixJ) |
Compute the partial derivative of a link forces with respect to a generalized velocity. More... | |
double | user_LinkForces_dqdd (double Z, double d_Z, double Zd, double d_Zd, MbsData *mbs_data, double tsim, int i_link, int ixJ) |
Compute the partial derivative of a link forces with respect to a generalized acceleration. More... | |
double | user_LinkForces_dp (double Z, double d_Z, double Zd, double d_Zd, MbsData *mbs_data, double tsim, int i_link) |
Compute the partial derivative of a link forces with respect to a specific parameter. More... | |
Definition of the derivative of the user link forces laws.
Creation date: October 2020
(c) Universite catholique de Louvain
#define _USE_MATH_DEFINES |
double user_LinkForces_dp | ( | double | Z, |
double | d_Z, | ||
double | Zd, | ||
double | d_Zd, | ||
MbsData * | mbs_data, | ||
double | tsim, | ||
int | i_link | ||
) |
Compute the partial derivative of a link forces with respect to a specific parameter.
[in] | Z | the distance (>0) between the extremities of the link force. |
[in] | d_Z | the partial derivative of Z with respect to the parameter i_param: . |
[in] | Zd | the relative velocity between the extremities of the link force, negative if the points get closer. |
[in] | d_Zd | the partial derivative of Zd with respect to the parameter i_param: . |
[in] | mbs_data | the MbsData structure of the model. |
[in] | tsim | the current time of the simulation. |
[in] | i_link | the ID identifying the computed link force. |
i_param:
.
double user_LinkForces_dq | ( | double | Z, |
double | d_Z, | ||
double | Zd, | ||
double | d_Zd, | ||
MbsData * | mbs_data, | ||
double | tsim, | ||
int | i_link, | ||
int | i_param | ||
) |
Compute the partial derivative of a link forces with respect to a generalized coordinate.
[in] | Z | the distance (>0) between the extremities of the link force. |
[in] | d_Z | the partial derivative of Z with respect to generalized coordinate of joint i_joint: . |
[in] | Zd | the relative velocity between the extremities of the link force, negative if the points get closer. |
[in] | d_Zd | the partial derivative of Zd with respect to generalized coordinate of joint i_joint: . |
[in] | mbs_data | the MbsData structure of the model. |
[in] | tsim | the current time of the simulation. |
[in] | i_link | the ID identifying the computed link force. |
[in] | i_param | the ID identifying the current joint the derivative is computed for. This parameter should bun unused. |
i_joint:
.
double user_LinkForces_dqd | ( | double | Z, |
double | d_Z, | ||
double | Zd, | ||
double | d_Zd, | ||
MbsData * | mbs_data, | ||
double | tsim, | ||
int | i_link, | ||
int | i_param | ||
) |
Compute the partial derivative of a link forces with respect to a generalized velocity.
[in] | Z | the distance (>0) between the extremities of the link force. |
[in] | d_Z | the partial derivative of Z with respect to generalized velocity of joint i_joint: . |
[in] | Zd | the relative velocity between the extremities of the link force, negative if the points get closer. |
[in] | d_Zd | the partial derivative of Zd with respect to generalized velocity of joint i_joint: . |
[in] | mbs_data | the MbsData structure of the model. |
[in] | tsim | the current time of the simulation. |
[in] | i_link | the ID identifying the computed link force. |
[in] | i_param | the ID identifying the current joint the derivative is computed for. This parameter should bun unused. |
i_joint:
.
double user_LinkForces_dqdd | ( | double | Z, |
double | d_Z, | ||
double | Zd, | ||
double | d_Zd, | ||
MbsData * | mbs_data, | ||
double | tsim, | ||
int | i_link, | ||
int | i_param | ||
) |
Compute the partial derivative of a link forces with respect to a generalized acceleration.
[in] | Z | the distance (>0) between the extremities of the link force. |
[in] | d_Z | the partial derivative of Z with respect to generalized velocity of joint i_joint: . |
[in] | Zd | the relative velocity between the extremities of the link force, negative if the points get closer. |
[in] | d_Zd | the partial derivative of Zd with respect to generalized velocity of joint i_joint: . |
[in] | mbs_data | the MbsData structure of the model. |
[in] | tsim | the current time of the simulation. |
[in] | i_link | the ID identifying the computed link force. |
[in] | i_param | the ID identifying the current joint the derivative is computed for. This parameter should bun unused. |
i_joint:
.