[petsc-users] DMPlex: vtk/vtu support for labels

Cameron Smith smithc11 at rpi.edu
Fri Mar 26 10:40:01 CDT 2021


Hello,

I'm debugging our use of DMLabel to mark the mesh vertices in a 2d 
triangular mesh on the geometric model boundary.

 From what I understand, the latex/tikz and glvis viewers support 
rendering user labels via the following options:

tikz:
-dm_view :mesh.tex:ascii_latex
-dm_plex_view_scale 8.0  #not related to label, better formatting
-dm_plex_view_labels <userDMLabelStrings>

glvis (I have not tried this yet):
-viewer_glvis_dm_plex_bmarker <userDMLabelStrings>

Are there any other graphical viewers that support rendering the 
existence and/or value of DMLabel?  I'm most familiar with paraview but 
didn't see vtu/vtk support in dm/impls/plex/plex[vtu].c .

Thank-you,
Cameron


More information about the petsc-users mailing list