tet_mesh_to_xml_test, a C++ code which calls tet_mesh_to_xml(), which reads a file of node coordinates and a file of elements defined by node indices, which define a tetrahedral mesh of a 3D region in terms of 4, 10, or 20-node tetrahedrons, and creates a corresponding DOLFIN XML mesh file.
The computer code and data files made available on this web page are distributed under the MIT license
tet_mesh_to_xml, a C++ code which writes a tetrahedral mesh to an XML file.