dolfin-convert creates old-style XML from Gmsh file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
New
|
Undecided
|
Unassigned |
Bug Description
When converting a Gmsh-mesh with a mesh function using dolfin-xml with, e.g.,
$ dolfin-convert mymesh.msh mymesh.xml
"new style" XML-files should come out.
However, when trying to read in the generated file in parallel, the following error message appears
*** Error: Unable to read mesh function from XML file.
*** Reason: Reading old-style XML MeshFunctions is not supported in parallel. Consider using the new format.
*** Where: This error was encountered inside XMLMeshFunction.h.
*** Process: 0
This can be reproduced with the mesh at http://
from dolfin import *
mesh = Mesh('circles2d
subdomains = MeshFunction(