I tried to load the MED file from meshio (attached) by the MED-supplied test $PETSC_ARCH/externalpackages/med-3.2.0/tests/c/test5.c, and it didn't complain. I compared it with DMPlexCreateMedFromFile, replaced MED_COMPACT_STMODE flag by MED_GLOBAL_PFLMODE in MEDfilterBlockOfEntityCr calls (patch attached), and it started to work magically. But I have no idea what's the meaning of this flag - I found no documentation of the MED library. Note also that your knepley/fix-plex-med- Vaclav |
blockcylinder-50.med
Description: Binary data
plexmed.patch
Description: Binary data
|