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

[dd] oneshot resfilename warning

parent 36a77bcf
......@@ -198,6 +198,7 @@ int mbs_run_dirdyn(MbsDirdyn* dd, MbsData* mbs_data)
{
mbs_msg("\n>>DIRDYN>> One shot evaluation of the direct dynamics is activated.\n");
dd->options->resfilename = "oneshot";
mbs_msg("\n>>DIRDYN>> Output filename is called oneshot by default.\n");
}
// 1. Initialize the simulation
......
......@@ -49,7 +49,8 @@ typedef struct MbsDirdynOptions
* default = 1
*/
int save2file;
/** The keyword used for determining the name of result files */
/** The keyword used for determining the name of result files
Default: 'dirdyn', or 'oneshot' in case the flag_oneshot is activated*/
char* resfilename;
/** Path in which result file are saved.
* Default: the resultsR folder of the project
......@@ -89,6 +90,7 @@ typedef struct MbsDirdynOptions
int flag_oneshot; //!< 1 to compute the derivative function only once (no time integration !), default = 0
//!< The time is the value found in the option t0
//!< the default resfilename is changed to 'oneshot'. you can still change it in the user_dirdyn function
int flag_compute_Qc; //!< choose to compute (or not) the Qc for driven variables. For dirdyn only. ==1 by default
//!< this allows to go faster
......
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