Skip to content

Commit 72142fb

Browse files
committed
Output EDGE to exodus as BAR
"EDGE" isn't actually in the ExodusII standard, as far as I can tell, despite Paraview and even *exodiff* seemingly supporting it. But apparently Python meshio is stricter, so we should be more standards-conforming here. Thanks to Adriaan Riet for catching this.
1 parent 7b7be15 commit 72142fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mesh/exodusII_io_helper.C

+3-3
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ void ExodusII_IO_Helper::init_conversion_map()
348348
};
349349

350350
convert_type(NODEELEM, "SPHERE");
351-
convert_type(EDGE2, "EDGE2");
352-
convert_type(EDGE3, "EDGE3");
353-
convert_type(EDGE4, "EDGE4");
351+
convert_type(EDGE2, "BAR2");
352+
convert_type(EDGE3, "BAR3");
353+
convert_type(EDGE4, "BAR4");
354354
convert_type(QUAD4, "QUAD4");
355355
convert_type(QUAD8, "QUAD8");
356356
convert_type(QUAD9, "QUAD9");

0 commit comments

Comments
 (0)