On 20 Oct 2016, at 21:24, Schwedes, Tobias <t.schwedes14@imperial.ac.uk> wrote:
Hi all,
I would like to visualize the result of simulations based on 2nd order elements. However, using plot(u) only gives a linear interpolation. I know this from fenics and the workaround is to interpolate u onto a finer mesh and plot the outcome then. Does that work in firedrake, and if so how do I do it?
Thanks a lot in advance for your help!
plot of a 2d function will sub triangulate and do the appropriate evaluation. So you can just do that. See the docstring (particularly the nun_sample_points argument). In 1d it uses cubic brazier curves... Cheers, Lawrence
All the best,
Tobias
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake