I notice that off all the
Methodoptions available forNDSolve[...],LSODAis invoked quite automatically for stiff equations whenMethod -> Automatic. Is there a way to set theMethod -> LSODA? I ask because asLSODAswitches between Adams' and Gear's method, it should have sub-options to it that I could set (like order etc.)?Under
tutorial/NDSolveStiffnessSwitchingI encounteredNeeds["DifferentialEquations`NDSolveProblems"]. What other example problems are available and where can I find documentation on them?
Edit (03/24/2011):
In light of comments made to this post, I'd also refer readers to page 409 of "The Mathematica Guidebook for Numerics". Springer has this book online and can be found here.
LSODA gives me: Options[NDSolveLSODA]={LinearSolveMethod->Automatic,MaxDifferenceOrder->12} This is rather useful. However, what does NDSolve`LSODA do? Did it load the LSODA method for use? – dearN Mar 24 '12 at 15:49NDSolve`LSODAdoes not get loaded (and thus cannot be queried) untilNDSolve[]is used at least once. – Szabolcs Mar 24 '12 at 16:17NDSolve`LSODAis defined like this: http://pastebin.com/0nayVBHP This confirm what @Andrzej said that it is just a method identifier. You can learn about how methods work here (I didn't have time to read this, but it seems like a relevant resource). – Szabolcs Mar 24 '12 at 16:23LSODAcan be loaded.. I am trying to figure out how and what the options are and how to set them. (Thanks to me being a beginner!) – dearN Mar 24 '12 at 16:24