[scilab-Users] Terminate ODE() when a condition is true

Stephane Mottelet stephane.mottelet at utc.fr
Fri Sep 10 11:42:33 CEST 2010


JensSimon <j.s.strom at hslmg.de> a écrit :

> Hallo Scilab friends,
> Does anyone know a way with ode() to stop the solution of the differential
> equation (or of a system) when a certain condition is met (e.g. if a state
> variable y in ydot=f(t,y) passes zero)?  Of course the results  
> before that case
> should be available to the calling script.
> Kind regards, Jens
>
>

see ode_root

S.




More information about the users mailing list