Commit 108f7d61 authored by Nicolas Van der Noot's avatar Nicolas Van der Noot
Browse files

modif options adapt values

parent 9cdfcf19
......@@ -59,12 +59,12 @@ MbsDirdyn* mbs_new_dirdyn_aux(MbsData* mbs_data, MbsAux* mbs_aux){
// adaptive time step integrator
opts->adapt_time_step = 0;
opts->adapt_rtoler = 1.0e-3;
opts->adapt_rtoler = 1.0e-4;
opts->adapt_atoler = 1.0e-3;
opts->adapt_dt_max = 1.0e-3;
opts->adapt_dt_save = 1.0e-3;
opts->adapt_dt_rt = 1.0e-3;
opts->adapt_max_steps = 10* ((opts->tf - opts->t0) / opts->dt0); // 10 is a safety factor because the total number of time steps is unknown
opts->adapt_max_steps = 1.0e9;
dirdyn->options = opts;
......
Supports Markdown
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