fem_to_xml


fem_to_xml, a Python code which reads the description of a mesh in FEM format, namely a file of node coordinates and a file of indices of nodes that form each element, and writes out a corresponding file in DOLFIN XML format.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

fem_to_xml is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and codes:

dolfin, Python codes which are used with the DOLFIN code to set up and solve a wide variety of problems using the finite element method (FEM).

dolfin-convert, a Python code which can convert a mesh file from Gmsh, MEDIT, METIS or SCOTCH format to an XML format suitable for use by DOLFIN or FENICS, by Anders Logg.

dolfin_xml, a data directory which contains examples of XML files that describe 3D finite element method (FEM) meshes as used by DOLFIN and FENICS.

fenics, examples which illustrate the use of FENICS, a collection of free software with an extensive list of features for automated, efficient solution of partial differential equations (PDE's).

xml, a data directory which contains examples of XML files, a standard, general datafile format.

xml_to_fem, a Python code which reads a mesh description in DOLFIN XML format, and creates a corresponding pair of FEM files listing the node coordinates and the indices of nodes that form the elements.

Source Code:


Last revised on 23 January 2020.