On Fri, Mar 26, 2021 at 11:43 AM Jed Brown <[email protected]> wrote:
> Cameron Smith <[email protected]> writes: > > > 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 . > > I think it would be good to include labels. Is there a more efficient way > to do it than to lower labels to an integer-valued field over the entire > mesh with some default value inserted for unlabeled points? > Last time I looked at the XDMF standard, I did not see something, but maybe that was too long ago. I did this kind of automatic integer field thing with 'rank', so doing it with a label is trivial, but it would be nice if it were more integrated on the platform. Matt -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
