Closed tsokar closed 1 year ago
I am not actually sure without looking at code, which I will do shortly. My suspicion is that the numbering used in the mesh file defines a set of relationships, but it is not guaranteed to be the same numbering that ends up being used in the internal data structures, which is what glvis is displaying. I will take a look.
I think the upshot of this is that the numbering that you specify in the ncmesh file defines parent-child relationships for the ncmesh. What glvis is showing you is not the contents of the "ncmesh" data structure (which contains the entire refinement tree from root nodes to leaves), but the "mesh" data structure information, which is a collapsed view of the mesh that contains only the leaf elements. Because of this, the vertex numberings can be different.
Ah, OK... Thanks a lot !
Dear GLVis developers, I am playing with mfem's ncmeshes, and I figured out that when I am opening such a mesh within GLVis and displaying the node ids, these ids are not consistent with the underlying mesh file.
For example, if I open the mesh attached below (
ncmesh.mesh
), the vertex parents are not consistent with the mesh which is displayed (see image):Vertex 4 is OK, but the other vertices parents are obviously wrong. Is it an bug or am I missing something ?
Thanks ! ncmesh.mesh.txt