fem_to_xml_test, an Octave code which calls fem_to_xml(), which reads FEM files of node coordinates and element connectivity, which define a mesh of a 1D, 2D, or 3D region and create a corresponding dolfin() XML file.
The computer code and data files made available on this web page are distributed under the MIT license
fem_to_xml, an Octave 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.
BATTERY is a rectangular region which was subdivided into 7 faces which were meshed together by MESHFACES.
CHANNEL is a 3D region, [0,3]x[0,1]x[0,1] [-1,+1], containing 63 nodes and 144 elements.
CHEBY9 is a 1D interval, [-1,+1], containing 9 nodes and 8 elements.
CIRCLE is a 2D circular region which was meshed by MESH2D.
RECTANGLE is a 2D rectangular region which has been divided into 3 rows and 4 columns of squares, each then split into two 3-node triangles.