12.07.2015 Views

DOLFIN User Manual - FEniCS Project

DOLFIN User Manual - FEniCS Project

DOLFIN User Manual - FEniCS Project

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DOLFIN</strong> <strong>User</strong> <strong>Manual</strong>Hoffman, Jansson, Logg, Wellsthere is not sufficient interest to maintain the format).9.2.7 GiDGiD [2] is a proprietary visualization tool. The GiD format is not activelymaintained and may be removed in future versions of <strong>DOLFIN</strong> (if there isnot sufficient interest to maintain the format).9.3 Converting between file formats<strong>DOLFIN</strong> supplies a script for easy conversion between different file formats.The script is named dolfin-convert and can be found in the directorysrc/utils/convert/ of the <strong>DOLFIN</strong> source tree. The only supported fileformats are currently the Medit .mesh format (which can be generated byTetGen), the .gmsh format (generated by Gmsh) and the <strong>DOLFIN</strong> XMLmesh format:# dolfin-convert mesh.mesh mesh.xml9.4 A note on new file formatsWith some effort, <strong>DOLFIN</strong> can be expanded with new file formats. Any contributionsare welcome. If you wish to contribute to <strong>DOLFIN</strong>, then addinga new file format (or improving upon an existing file format) is a good placeto start. Take a look at one of the current formats in the subdirectorysrc/kernel/io/ of the <strong>DOLFIN</strong> source tree to get a feeling for how to designthe file format, or ask at dolfin-dev@fenics.org for directions.Also consider contributing to the dolfin-convert script by adding a conversionroutine for your favorite format. The script is written in Python andshould be easy to extend with new formats.63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!