help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trouble using events in ODE solvers


From: Ty Thomson
Subject: trouble using events in ODE solvers
Date: Wed, 3 Mar 2010 09:25:49 -0500

I posted a bug to the bug-octave mailing list - essentially the ODE
solvers don't correctly identify which event has occurred if I have
multiple terminal events:
http://www-old.cae.wisc.edu/pipermail/bug-octave/2010-February/010451.html.
 I need to solve ODEs, but with an arbitrary set of events that will
modify some parameters in the ODEs.  I don't know what order the
events are going to occur.  I'm trying to stop the ODE solver when
each even occurs, alter the parameters, and then restart the ODE
solver.  I think that I could do a work-around by making the
parameters a global array and not actually stopping the ODE solver
when the event occurs. But I'd rather stay away from global variables
if possible.  Does anyone have any other suggestions?

ty


reply via email to

[Prev in Thread] Current Thread [Next in Thread]