Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

NDSolve : Stopping condition

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25424] NDSolve : Stopping condition
  • From: roelb at club-internet.fr (roelb)
  • Date: Fri, 29 Sep 2000 01:07:36 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
The default stoping conditions of NDSolve are :
- max steps, or,
- final time value reached.

Is there a way to stop a running NDSolve simulation upon the value
reached by a variable of the model?
Something like that:

NDSolve[{system, initialCondition},{x,y,z},{t,t0,tfinal},Stop->If[x[t]=0
]]



   


  • Prev by Date: Run[] in background (NT)?
  • Next by Date: List operations
  • Previous by thread: Run[] in background (NT)?
  • Next by thread: List operations