← Back to team overview

dolfin team mailing list archive

Re: VTK and discontinuous elements

 

Dag Lindbo wrote:
> Hi all,
> 
> Am I right to conclude that Paraview will fail to produce a sensible
> visualization of a function on a discontinuous Lagrange element of order >
> 0? I guess this has to do with how the degrees of freedom are placed on
> such an element. Anyway, it's not very important for me to do these
> visualizations - but if someone has a neat way to do it I would be glad to
> hear.
>

Yes. VTK does not support discontinuous element of order k > 0. Just
project your solution onto a continuous linear basis. I planned some
time ago to remove support for k = 0 output (but forgot to) because this
leads to problems with mixed elements.

Garth

> By the way, is there a particular reason for only supporting tetrahedral
> cells in the OpenDX output format? If not, I might get around to extending
> to triangles (since I really like DX).
> 
> Best regards,
> Dag Lindbo
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
> 




References