glvis icon indicating copy to clipboard operation
glvis copied to clipboard

DOFs numberings displays

Open camierjs opened this issue 7 months ago • 4 comments

This PR adds DOFs numbering.

The n key now cycles in 2D: NONEELEMENTSEDGESVERTICESDOFS.

Should solve #106

GLVis_s01

Parallel numbering is now by default 'local' to each rank and can be toggle back to 'global' with Alt-n: output (mpirun -n 3 ./ex6p -m ../data/star-mixed.mesh -o 2 -md 200)

camierjs avatar May 28 '25 21:05 camierjs

To clarify: "DOF" here means the numbering of the Mesh nodes (as a high-order grid function), right?

tzanio avatar May 28 '25 23:05 tzanio

Js seems to be working: https://github.com/GLVis/glvis-js/actions/runs/15313952476 😉 Thanks for the cleanup 👍 I need to take a deeper look...

najlkin avatar May 29 '25 01:05 najlkin

I tested that and it works nicely with 2D scalars on conforming meshes, but a few things to do:

  • [x] update README
  • [x] update Changelog
  • [x] the current option could be written to console
  • [x] 2D vector grid functions do something strange after pressing N, should be fixed
  • [x] example 6 crashes glvis after switching to the second option, should be fixed

najlkin avatar May 29 '25 23:05 najlkin

@tzanio , it shows DOFs (in the sense of finite element nodes) for the visualized grid function. In the case of mesh visualization, the nodes of the coloring grid function.

najlkin avatar May 30 '25 17:05 najlkin