← Back to team overview

dolfin team mailing list archive

[Bug 780301] Re: Feature request: Output to other mesh formats than Dolfin XML

 

I think I found out the right place to add the new class; Here is a
rudimentary io/GMSHFile.{h,cpp}, and the diff to io/File.cpp.

It should not be too much trouble to add a reader, as well as a fuller
output format (that includes materials, boundaries, etc.)



** Attachment added: "GMSHFile.tar"
   https://bugs.launchpad.net/dolfin/+bug/780301/+attachment/2122441/+files/GMSHFile.tar

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/780301

Title:
  Feature request: Output to other mesh formats than Dolfin XML

Status in DOLFIN:
  New

Bug description:
  Dolfin can only output meshes in the Dolfin XML format.

  However, dolfin-convert currently is only able to convert in one direction: *to* the Dolfin XML format, but not from it. 
  This means that it is not possible at present to export generated meshes such that they can be used by other tools. 

  The feature request is for either adding one or more "external"
  formats for writing Mesh-classes from Dolfin, or for dolfin-convert to
  provide conversion from Dolfin XML to one or more other formats.



References