Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

At some point I get this error:

Warning: scaled local spatial error estimate of 32773.0090044258` at 
t = 987.7919550194803` in the direction of independent variable x is much greater than the     
prescribed error tolerance. Grid spacing with 1001 points may be too large to achieve the  
desired accuracy or precision.   


How do I track this time with WhenEvent? How is this scaled local spatial error kept in NDSolve?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.