I’m solving a partial differential equation using NDSolve’s MethodOfLines and would like to just see the raw solution, not the interpolation function. How can I do that?
Thanks
I’m solving a partial differential equation using NDSolve’s MethodOfLines and would like to just see the raw solution, not the interpolation function. How can I do that?
Thanks
One option is to use NDSolve components.
Also interpolation itself is not that time consuming (you can set InterpolationOrder → 1).
Values on grid can be then extracted from InterpolatingFunction with DifferentialEquations`InterpolatingFunctionAnatomy` package.
Take a look at tutorial/NDSolveStateData and tutorial/NDSolvePackages.
Thanks. InterpolatingFunctionCoordinates gave me the information I needed, since I’m only interested in the values at the maximum for one of the dependent variables.