0
$\begingroup$

Sorry for the lack of a minimal working example but the code I am concerned about is rather large and I have no idea what the problem is. All I know is that when I run the code in Mathematica versions 9, 10, 11, version 9 gives the correct result while versions 10 and 11 do not. There are no error messages. My best guess is that the problem is related to changes to NDSolve between the different versions since I have seen a similar problem before. However, with previous problems, I was able to stumble across a fix by playing with different choices for Method. This time I am having no such luck.

So my question is, is there a way to force NDSolve in version 11 to work precisely like the default settings of version 9?

$\endgroup$
8
  • 1
    $\begingroup$ related. Finite Element Method only appeared with wersion 10 of Mathematica. $\endgroup$
    – andre314
    Commented Jul 12, 2017 at 9:38
  • $\begingroup$ I'm wondering if the problem has anything to do with this rather interesting discussion about why GiNaC was developed $\endgroup$
    – user41147
    Commented Jul 12, 2017 at 12:01
  • $\begingroup$ An possible explanation, but not a solution, to your issue can be found in the comments following the first answer to 130373. I ran into a similar problem here. $\endgroup$
    – bbgodfrey
    Commented Jul 12, 2017 at 12:43
  • $\begingroup$ (continuation of my first comment) : does your code try to use Finite Element Method when you are on Mathematica 10 or 11 ? If yes, you should impose the TensorProductGrid Method. $\endgroup$
    – andre314
    Commented Jul 12, 2017 at 13:11
  • $\begingroup$ @andre I'm struggling to digest the discussion you linked to. How can I find out if the code is trying to use Finite Element Method? Thank you for your help. $\endgroup$
    – user41147
    Commented Jul 12, 2017 at 15:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.