Commit 9eeefe79 authored by Olivier Lantsoght's avatar Olivier Lantsoght

[MbsPart] Uses option visualize to generate or not the failed loop closing procedure.

parent 2318cead
......@@ -491,6 +491,9 @@ void mbs_run_part(MbsPart* mbs_part, MbsData* mbs_data)
}
mbs_aux = initMbsAux(mbs_data);
// Options (set by the user)
mbs_aux->close_anim = mbs_part->options->visualise;
nbiter = mbs_close_geo(mbs_data, mbs_aux); // on essaie de fermer
nbiterMax = mbs_aux->MAX_NR_ITER;
freeMbsAux(mbs_aux, mbs_data);
......
......@@ -13,7 +13,8 @@
typedef struct MbsPartOptions
{
int rowperm; //!< 1 to allow line permutation; 0 otherwise, defaut = 0
int visualise; // no = 0, yes = 1, defaut = 0
int visualise; //!< In case of loop closure failing, set to 1 to plot the
//!< closing procedure iteration, default = 0.
int drivers; // no = 0, yes = 1, defaut = 0
int verbose; //!< 1 to get print indications related partitioning module; 0 otherwise, defaut = 1
int clearmbsglobal; // inout = 1, out = 2, none = 3, all = 4, defaut = 1
......
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