Accept xmdf[3]-(binary|hdf|xml) file formats
@@ -227,6 +227,12 @@ def write(filename, mesh, file_format=None):
"vtk-binary": lambda: vtk_io.write(filename, mesh, write_binary=True),
"xdmf": lambda: xdmf_io.write(filename, mesh),
"xdmf3": lambda: xdmf_io.write(filename, mesh),
+ "xdmf-binary": lambda: xdmf_io.write(filename, mesh, data_format='Binary'),
+ "xdmf3-binary": lambda: xdmf_io.write(filename, mesh, data_format='Binary'),
+ "xdmf-hdf": lambda: xdmf_io.write(filename, mesh, data_format='HDF'),
+ "xdmf3-hdf": lambda: xdmf_io.write(filename, mesh, data_format='HDF'),
+ "xdmf-xml": lambda: xdmf_io.write(filename, mesh, data_format='XML'),
+ "xdmf3-xml": lambda: xdmf_io.write(filename, mesh, data_format='XML'),
"abaqus": lambda: abaqus_io.write(filename, mesh),
"exodus": lambda: exodus_io.write(filename, mesh),
"mdpa": lambda: mdpa_io.write(filename, mesh),
