Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: forced discard of ODE step
Replies: 4   Last Post: May 27, 2013 7:40 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Mateusz Gos

Posts: 32
Registered: 12/8/08
forced discard of ODE step
Posted: May 24, 2013 11:17 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

I have a set of differential equations solved with ode45. At times it might be possible for the solver to find a valid time step (meeting the tolerance criteria), but for some of the variables in that time step to be physically not possible. So in other words such step is correct mathematically, but not physically.
Of course I can check for these variables, but how do I make the solver discard a particular iteration and start a new one with different time step, regardless of what it has determined tolerance-wise?

Thank you,
Matt



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.