skypjack / uvw

Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
MIT License
1.82k stars 207 forks source link

Error in .vtu Files with hexahedron type of elements #279

Closed nameless2342 closed 1 year ago

nameless2342 commented 1 year ago

Hello,

I think I found a small error in the "unstructured.py"-part. The Hexahedron type should only have 8 nodes instead of 9 in the NODES_PER_CELL list.

CellType.HEXAHEDRON: 8, instead of CellType.HEXAHEDRON: 9, in line 65

(Can lead to problems when you are trying to clip your elements and just added one pseudo node)

Best greetings and thanks - very helpful stuff

skypjack commented 1 year ago

I'm pretty sure this isn't the right project.