Commit d7d7cbeb authored by Sebastien Timmermans's avatar Sebastien Timmermans 🎹
Browse files

[Msg] module finished moved when verbose

parent 196e450c
......@@ -185,6 +185,12 @@ int mbs_run_dirdyn(MbsDirdyn* dd, MbsData* mbs_data)
mbs_error_msg("[%d] in mbs_run_dirdyn !! \n", _MBS_ERR_MOD_DIRDYN + err);
return _MBS_ERR_MOD_DIRDYN + err;
}
if (dd->options->verbose)
{
mbs_msg("\n>>DIRDYN>> Direct dynamics analysis finished.\n");
}
return err;
}
......@@ -861,11 +867,6 @@ int mbs_dirdyn_finish(MbsDirdyn* dd, MbsData* mbs_data) {
}
}
if (dd->options->verbose)
{
mbs_msg("\n>>DIRDYN>> Direct dynamics analysis finished.\n");
}
return err;
}
......
......@@ -239,6 +239,11 @@ int mbs_run_equil(MbsEquil* eq, MbsData* s)
return err;
}
if (eq->options->verbose)
{
mbs_msg("\n>>EQUIL>> Equilibrium analysis finished.\n");
}
return err;
}
......@@ -742,10 +747,6 @@ int mbs_equil_finish(MbsEquil* eq, MbsData* s)
s->Nux = eq->Nux_saved;
}
if (eq->options->verbose)
{
mbs_msg("\n>>EQUIL>> Equilibrium analysis finished.\n");
}
return err;
}
......
......@@ -126,6 +126,12 @@ int mbs_run_invdyn(MbsInvdyn* invd, MbsData* mbs_data)
mbs_error_msg("[%d] in mbs_invdyn_finish !! \n", _MBS_ERR_MOD_INV_DYN + err);
return _MBS_ERR_MOD_INV_DYN + err;
}
if (invd->options->verbose)
{
mbs_msg("\n>>INVDYN>> Inverse dynamics analysis finished.\n");
}
return err;
}
......@@ -781,11 +787,6 @@ int mbs_invdyn_finish(MbsInvdyn* invd, MbsData* mbs_data) {
}
}
if (invd->options->verbose)
{
mbs_msg("\n>>INVDYN>> Inverse dynamics analysis finished.\n");
}
return err;
}
......
......@@ -125,6 +125,11 @@ int mbs_run_modal(MbsModal *mo, MbsData *s)
return _MBS_ERR_MOD_MODAL + err;
}
if (mo->options->verbose)
{
mbs_msg("\n>>MODAL>> Modal analysis finished.\n");
}
return err;
}
......@@ -634,12 +639,6 @@ int mbs_modal_finish(MbsModal *mo, MbsData *s)
{
s->Nux = mo->Nux_saved;
}
if (mo->options->verbose)
{
mbs_msg("\n>>MODAL>> Modal analysis finished.\n");
}
}
s->DoneModal = 1;
......
......@@ -128,6 +128,11 @@ int mbs_run_solvekin(MbsSolvekin* sk, MbsData* mbs_data)
return _MBS_ERR_MOD_INV_KIN + err;
}
if (sk->options->verbose)
{
mbs_msg("\n>>SOLVEKIN>> Inverse kinematics analysis finished.\n");
}
return err;
}
......@@ -679,11 +684,6 @@ int mbs_solvekin_finish(MbsSolvekin* sk, MbsData* mbs_data) {
}
}
if (sk->options->verbose)
{
mbs_msg("\n>>SOLVEKIN>> Inverse kinematics analysis finished.\n");
}
return err;
}
......
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