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.