Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: StoppingTest option for NDSolve

  • To: mathgroup at
  • Subject: [mg35016] Re: StoppingTest option for NDSolve
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 20 Jun 2002 02:13:10 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <aepkmo$s04$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


NDSolve[{y''[t] + y[t] == 0, y[0] == 1, y'[0] == 0}, y[t], {t, 0, 4Pi}, 
  StoppingTest :> (y[t] < 0)]



Randall Beer wrote:
> Does anyone know how to use the StoppingTest option for NDSolve?  This
> option doesn't seem to be documented, but shows up in Options[NDSolve].
> I need to terminate a numerical integration when given state variables
> go out of a specified region, and I was hoping that I could do this by
> defining a stopping test.
> Thanks,
> Randy

  • Prev by Date: RE: Solve weirdness
  • Next by Date: RE: StoppingTest option for NDSolve
  • Previous by thread: StoppingTest option for NDSolve
  • Next by thread: RE: StoppingTest option for NDSolve