Currently the file mode in which an output file is opened is specified by a string.
with XDMFFile(mesh.comm, filename, "w", encoding=encoding) as file:
file.write_mesh(mesh)
This should be altered to be enum based and back end independent, ref. #4177 (comment).
Currently the file mode in which an output file is opened is specified by a string.
This should be altered to be enum based and back end independent, ref. #4177 (comment).