XML_TO_FEM
Mesh Information from DOLFIN or FENICS XML File


XML_TO_FEM is a PYTHON script which reads an XML file, created by DOLFIN or FENICS, defining a mesh. The script extracts the node coordinates, and the lists of node indices associated with each element, which constitute an FEM model of the mesh.

Licensing:

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

Languages:

XML_TO_FEM is available in a Python version.

Related Data and Programs:

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

DOLFIN-CONVERT, a Python program 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.

FEM_TO_XML, a C program which reads FEM files defining a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding XML file for input to DOLFIN or 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.

Source Code:

Examples and Tests:

You can go up one level to the PYTHON source codes.


Last revised on 12 October 2014.