octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49190] no return to prompt by ode45() when bl


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #49190] no return to prompt by ode45() when blowup of solution occurs
Date: Mon, 26 Sep 2016 14:38:30 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:48.0) Gecko/20100101 Firefox/48.0

Update of bug #49190 (project octave):

             Assigned to:                    None => cdf                    

    _______________________________________________________

Follow-up Comment #1:

Hi,

Thanks for reporting this.

I tested the same example in Matlab
and it seems what happens there is
that the simulation is stopped issuing
a warning when the timestep becomes too
small.

I was not able to find documentation 
of the value being set for the minimum
timestep though. Some testing seems to 
indicate this is problem dependent ...


[t,x]=ode45(@(t,x)2*(1+x.^2),[0,2],0);
Warning: Failure at t=7.853880e-01.  Unable to meet integration tolerances
without reducing the step size below the smallest value allowed
(1.776357e-15) at time t. 
> In ode45 (line 308) 
>> [t,x]=ode45(@(t,x)1+x.^2,[0,2],0);
Warning: Failure at t=1.570767e+00.  Unable to meet integration tolerances
without reducing the step size below the smallest value allowed
(3.552714e-15) at time t. 
> In ode45 (line 308) 


any idea what would be a reasonable to select this value?

c.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49190>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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