Help understanding getNodes in the C++ api.
Hi, I'm looking for some help in understanding the way the nodeTags parameter is given back from getNodes. Currently when I do so it gives me back a list of nodes in order like expected except for a few oddities at the start.
In the image below you can see it starts with 9737 which I assume is the amount of nodes in the mesh, then continues from 1-15 fine but then hits 9738 and I can't figure out why this is there, as this also screws up the node numbering later.
I've also included a image of the .msh file that this will generate. I have noticed this seems to take place around where the nodes transition to another dimension. So is this telling me how many nodes are in that dimension?
Also is it possible to remove these from the output without extra C++ or will I have to do that manually?
Edit: I should probably add this is using gmsh::model::mesh::getNodes(nodeTags, nodeCoords, nodeParams, -1, -1) to get all the nodes in the model.
Thanks for any help or advice in advance, Matt