Commit 8b6c4da4 authored by Olivier Lantsoght's avatar Olivier Lantsoght 🏁
Browse files

[void]cons_hj

parent f88ac491
......@@ -143,7 +143,9 @@ void mbs_calc_hJ(MbsData *s, MbsAux *mbs_aux)
// contraintes de fermeture de boucles
mbs_cons_hJ(mbs_aux->h,mbs_aux->Jac,s,s->tsim);
if (s->Nloopc>0){
mbs_cons_hJ(mbs_aux->h,mbs_aux->Jac,s,s->tsim);
}
// contraintes user
if (s->Nuserc>0) {
user_cons_hJ(mbs_aux->huserc, mbs_aux->Juserc, s, s->tsim);
......
......@@ -13,5 +13,9 @@
void mbs_cons_hJ(double *h,double **Jac, MbsData *s, double tsim)
{
mbs_msg(">>CONSTRAINTS>> \n");
mbs_msg(">>CONSTRAINTS>> The computation calls the contraints error and Jacobian symbolic function.\n");
mbs_msg(">>CONSTRAINTS>> The symbolic file was either not generated or included in the project.\n");
mbs_msg(">>CONSTRAINTS>> Generate the file (if needed) and regenerate the project with CMake.\n");
mbs_error_msg(">>CONSTRAINTS>> [%d] Error calling a dummy symbolic function.\n", -802);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment