Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg35016] Re: StoppingTest option for NDSolve
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 20 Jun 2002 02:13:10 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <aepkmo$s04$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

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

?

Regards
  Jens

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