← Back to team overview

yade-users team mailing list archive

Re: Initial time step

 

2010/5/13 chiara modenese <c.modenese@xxxxxxxxx>

>
>
> It is a "feature" that I recall now. If you set timestep via O.dt, it
>> will disable timesteppers (otherwise the change would be only effective
>> until the next run of the timestepper). You can re-eanble timesteppers
>> with
>>
>> http://beta.arcig.cz/~eudoxos/yade/sphinx/yade.wrapper.html#yade.wrapper.Omega.usesTimeStepper<http://beta.arcig.cz/%7Eeudoxos/yade/sphinx/yade.wrapper.html#yade.wrapper.Omega.usesTimeStepper>.
>>
> Ok, thanks.
>
>
>>
>> Not very logical, as I see now (and not documented either). I would
>> change it as follows: if you set O.dt to a non-positive  value, then
>> timestepper will be enabled (and exception raised if there not one). If
>> you set O.dt to a positive value, timestepper will be disabled. Does
>> that sound better?
>>
> Yes, it sounds at least more logical. Otherwise, if not directly reading
> the code, one can only guess what happens. I would add documentation on this
> somewhere for the future.
>
> Thanks, Chia
>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>

References