NeuralPDE.jl icon indicating copy to clipboard operation
NeuralPDE.jl copied to clipboard

General plot recipe

Open KirillZubov opened this issue 4 years ago • 3 comments

it would be convenient to have one general method for plot of solution.

NeuralPDE.plot(phi, res)

KirillZubov avatar Dec 08 '20 13:12 KirillZubov

Instead of a function it should be a recipe on a return type. Right now we don't have a good return type after the optimization, so we'll need to think about a way to package post processing as a NeuralPDESolution where the user supplies a few things? It's a bit different with GalacticOptim calls in there but it can be done.

ChrisRackauckas avatar Dec 09 '20 01:12 ChrisRackauckas

Hi @ChrisRackauckas and @KirillZubov,

does "NeuralPDE.jl" support VTK formats output file?

asdasdqwdqwfsdf avatar Dec 11 '20 02:12 asdasdqwdqwfsdf

Not yet. That might be hard because the solution is inherently continuous which doesn't mesh well with the format. But there is WriteVTK.jl which we could use.

ChrisRackauckas avatar Dec 11 '20 09:12 ChrisRackauckas