The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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


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,

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.