SciML / SciMLBase.jl

The Base interface of the SciML ecosystem
https://docs.sciml.ai/SciMLBase/stable
MIT License
139 stars 100 forks source link

Create an interface for PDE solutions #112

Open killah-t-cell opened 3 years ago

killah-t-cell commented 3 years ago

The idea is to create a PDESolution(prob,discretizer,res) that takes your problem, your discretizer, and your result. This interface can then have common actions like plot, get a certain variable at a certain interval, and so on.

It would also be great if the interface could make base manipulation to a solution similar to the TimeseriesSolution:

sol.y(0.1)
sol.approx(dx)
plot(sol)
sol.res

This would provide SciML with a standard way of analyzing PDEs – regardless of the method used to solve it.

killah-t-cell commented 3 years ago

@ChrisRackauckas is there any code that already exists that could serve as inspiration for this? I reckon one of the solution interfaces?