fem_io, a C++ code which reads or writes FEM files, which describe the nodes, elements, and function values associated with a finite element method (FEM) model;
The finite element model is assumed to include three items:
The information on this web page is distributed under the MIT license.
fem_io is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.
fem_to_gmsh, a C++ code which reads FEM files definining a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a Gmsh mesh file.
fem_to_triangle, a C++ code which reads FEM files defining a 2D mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by Jonathan Shewchuk's triangle program.
fem_to_xml, a C++ code 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.
fem1d, a data directory which contains examples of 1D FEM files, three text files that describe a 1D finite element model;
fem2d, a data directory which contains examples of 2D FEM files, three text files that describe a 2D finite element geometry;
fem2d_pack, a C++ code which is useful for 2D finite element calculations.
fem3d, a data directory which contains examples of 3D FEM files, three text files that describe a 3D finite element geometry;
gmsh_to_fem, a C++ code which reads a mesh data file created by the GMSH program and writes a pair of node and element files that correspond to the FEM format.
table_io, a C++ code which can read and write TABLE files.
triangle_to_fem, a C++ code which reads the NODE and ELE files created by triangle() to describe a triangular mesh, and writes a corresponding pair of node and element files in the 2D FEM format.