Message Boards Message Boards

0
|
3312 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to Get Uninterpolated Results From NDSolve MethodOfLines

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

POSTED BY: Frank Kampas
2 Replies

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.

POSTED BY: Frank Kampas

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.

POSTED BY: Ivan Morozov
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract