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

[comments] update some of them

parent a0f77bf6
...@@ -55,7 +55,7 @@ int mbs_close_geo(MbsData *s, MbsAux *mbs_aux) ...@@ -55,7 +55,7 @@ int mbs_close_geo(MbsData *s, MbsAux *mbs_aux)
if (err < 0) if (err < 0)
{ {
mbs_msg("\t >CLOSE GEO> Error in mbs_close_geo du LU decomposition of Jv matrix \n"); mbs_msg("\t >CLOSE GEO> Error in mbs_close_geo during LU decomposition of Jv matrix \n");
return err; return err;
} }
......
...@@ -635,7 +635,7 @@ void mbs_fct_dirdyn(double tsim, double y[], double dydt[], MbsData *s, MbsDirdy ...@@ -635,7 +635,7 @@ void mbs_fct_dirdyn(double tsim, double y[], double dydt[], MbsData *s, MbsDirdy
i = dirdynared(dd->mbs_aux,s); i = dirdynared(dd->mbs_aux,s);
} }
if(i<0){ // temporary solution if(i<0){ // Error management
if (i >= dd->mbs_aux->MAX_NR_ITER) if (i >= dd->mbs_aux->MAX_NR_ITER)
{ {
......
...@@ -46,7 +46,7 @@ int dirdynared(MbsAux *mbs_aux,MbsData *s) ...@@ -46,7 +46,7 @@ int dirdynared(MbsAux *mbs_aux,MbsData *s)
if (iter >= mbs_aux->MAX_NR_ITER) if (iter >= mbs_aux->MAX_NR_ITER)
{ {
mbs_msg("\t >DIRDYNARED> Impossible to close the goemetry after %d iterations \n", iter); mbs_msg("\t >DIRDYNARED> Impossible to close the geometry after %d iterations \n", iter);
return iter; return iter;
} }
else if (iter <0) // error during LU decomposition else if (iter <0) // error during LU decomposition
......
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