Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*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 1996

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

Search the Archive

Re: Error Tracing - NDSolve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4086] Re: Error Tracing - NDSolve
  • From: wagner at motel6.cs.colorado.edu (Dave Wagner)
  • Date: Fri, 31 May 1996 01:36:22 -0400
  • Organization: University of Colorado, Boulder
  • Sender: owner-wri-mathgroup at wolfram.com

In article <4obg9e$na9 at dragonfly.wolfram.com>,
Andrei Constantinescu  <constant at athena.polytechnique.fr> wrote:
>
> Hi, 
>
>is there any possibility in tracing an error in 
>NDSolve ? 
>
>I get the following message:
>
>In[2]:=     sol =  NDSolve[ Union[equation, condini] , {y1,y2,y3} , {t, 0., 20.},
>         MaxSteps -> 2000 ]
>        
>                                 1
>Power::infy: Infinite expression -- encountered.
>                                 0.

Try using:

	Trace[NDSolve[your stuuff], Message, TraceAbove->True]

This may produce a horrible mess.  If there's not enough information there,
try using TraceAbove->All.  I'd be interested to know how well this
technique works for you.

		Dave Wagner
		Principia Consulting
		(303) 786-8371
		dbwagner at princon.com
		http://www.princon.com/princon

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Numerical Evaluation of Sqrt[]
  • Previous by thread: Error Tracing - NDSolve
  • Next by thread: PDF dist question.