Export DG function correctly to paraview

Does this post help?