From cde7b1e3db7104620b4fa16e49853de62cdc4288 Mon Sep 17 00:00:00 2001 From: Max Bittens Date: Tue, 7 May 2024 15:12:29 +0200 Subject: [PATCH] update xdmf_idx_to_num_nodes for triangle6 --- src/meshio/xdmf/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/meshio/xdmf/common.py b/src/meshio/xdmf/common.py index fb7fcf3fe..e67c1fe2c 100644 --- a/src/meshio/xdmf/common.py +++ b/src/meshio/xdmf/common.py @@ -124,7 +124,8 @@ def translate_mixed_cells(data): 7: 5, # pyramid 8: 6, # wedge 9: 8, # hex - 11: 6, # triangle6 + 11: 6, # triangle6 (I don't know where this 11 is comming from...leaving it, since it does no harm) + 36: 6, # triangle6 } # collect types and offsets