MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Options to exit NDSOLVE?

  • To: mathgroup at
  • Subject: [mg13986] Re: [mg13948] Options to exit NDSOLVE?
  • From: Jurgen Tischer <jtischer at>
  • Date: Sat, 12 Sep 1998 16:59:11 -0400
  • References: <>
  • Sender: owner-wri-mathgroup at

Hi Robin,
there is a not too well documented option StoppingTest for NDSolve (try
?StoppingTest) which could be helpful. The only way I found to use it
is like in
the following example:


This will stop integration at t==0.71712 and of course the
shows this as the upper limit of it's interval.


Robin Redfield wrote:

> >
> >
> > Is it possible to get NDSOLVE to exit before the independent variable
> > reaches its range?  I would like to exit the numerical integration routine
> > based on monitored conditions in the simulation.  I would also like to
> know
> > the value of some of my variables at exit.
> >
> > For example, I am modeling the vertical motion of a water rocket and would
> > like to stop the simulation when the water is dispelled from the rocket,
> not
> > necessarily at some particular value of the independent variable (time).
> >
> > Thanks for any help,
> >
> > Rob Redfield
> > Associate Professor
> > Engineering Mechanics
> > US Air Force Academy

  • Prev by Date: Re: Re: Re: warning for Round[Log[2]/Log[4]]
  • Next by Date: Re: Q: efficient list operation wanted
  • Previous by thread: Options to exit NDSOLVE?
  • Next by thread: Re: Options to exit NDSOLVE?