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 2000

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

Search the Archive

Re: NDSolve : Stopping condition

  • To: mathgroup at
  • Subject: [mg25445] Re: NDSolve : Stopping condition
  • From: Bernd Brandt <bernd at>
  • Date: Sun, 1 Oct 2000 02:44:27 -0400 (EDT)
  • Organization: VU Biology, Amsterdam, The Netherlands
  • References: <8r1ata$>
  • Sender: owner-wri-mathgroup at


Maybe there are other  ways to stop the NDSolve,
but is your system is a funtion of the variable e.g. v then a possibility

system[x_,y,_,z_, v_]:= ...... /; v <= stop-at-this-v-value


roelb wrote:

> 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: Re: Run[] in background (NT)?
  • Next by Date: Re: I do not understand
  • Previous by thread: Re: Run[] in background (NT)?
  • Next by thread: Re: NDSolve : Stopping condition