dolfin-convert creates old-style XML from Gmsh file

Bug #1098942 reported by Nico Schlömer
14
This bug affects 2 people
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://win.ua.ac.be/~nschloe/other/circles2d.msh and the Python lines

from dolfin import *
mesh = Mesh('circles2d.xml')
subdomains = MeshFunction('size_t', mesh, 'circles2d_physical_region.xml'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.