gmsh::model::mesh::getElementFaceNodes node ordering?
I see in the docs it says it returns nodes in the same order as getElements
, but what order does getElements
return the nodes in? Is it the same as outlined in 9.2 Node ordering?
What I'm really interested in is getting the nodes (in counter-clockwise order) of all quads of all hexes:
std::vector<size_t> faceNodes;
gmsh::model::mesh::getElementFaceNodes(5, 4, faceNodes);
Are faceNodes[i*4] - faceNodes[i*4+3]
ordered in a counter-clockwise fashion around the quad i
? Also, do the nodes in the hex section of the nodeTags vector returned by getElements
follow the 9.2 node ordering for hexes?
I thought that was the case, but I'm running into some issues which have made me reconsider, and since it isn't explicitly said anywhere (regarding those functions) I figured I'd ask here.
Thanks,
Max
Edited by Max