From b23cf18a350b77966a449267c18ffc4ea3541338 Mon Sep 17 00:00:00 2001 From: MarsVegetables Date: Wed, 2 Aug 2023 10:51:50 +0200 Subject: [PATCH] add PolyLine keyword to xdmf type FEniCS XDMFWriter saves lines using the "PolyLine" keyword. --- src/meshio/xdmf/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshio/xdmf/common.py b/src/meshio/xdmf/common.py index fb7fcf3fe..b64e39346 100644 --- a/src/meshio/xdmf/common.py +++ b/src/meshio/xdmf/common.py @@ -35,7 +35,7 @@ # alternatives as well. meshio_to_xdmf_type = { "vertex": ["Polyvertex"], - "line": ["Polyline"], + "line": ["Polyline", "PolyLine"], "line3": ["Edge_3"], "quad": ["Quadrilateral"], "quad8": ["Quadrilateral_8", "Quad_8"],