#include "mbs_data.h"
Functions | |
int | user_cons_J_accelred (MbsData *s, double tsim) |
[Accelred only] Compute the Jac_user matrix nqv x Njoint matrix (starting at one) for custom user constraints in accelred. More... | |
int user_cons_J_accelred | ( | MbsData * | s, |
double | tsim | ||
) |
[Accelred only] Compute the Jac_user matrix nqv x Njoint matrix (starting at one) for custom user constraints in accelred.
The constraints are assumed to be solved by the user, inside this function. Thus, only the Jacobian of the constraints is needed (in the configuration of solved constraints ! )
[in,out] | s | the MbsData structure of the model on which the user constraints are computed. |
[in] | tsim | the current time of the simulation |
The only field that should be modified is the MbsData::jac_user matrix