triangulation_node_to_element, an Octave code which reads datafiles describing a set of nodes, their triangulation, and the value of one or more quantities at each node, and outputs a file that averages the quantities for each element. This operation in effect creates an order1 finite element model of the data.
The program reads three data files:
triangulation_node_to_element ( 'prefix' )where
The computer code and data files described and made available on this web page are distributed under the MIT license
triangulation_node_to_element is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.
triangulation_node_to_element_test
mesh_to_xml, an Octave code which reads information 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().
triangulation, an Octave code which carries out various operations on order 3 ("linear") or order 6 ("quadratic") triangulations.
triangulation_l2q, an Octave code which reads information about a 3-node (linear) triangulation and creates data defining a corresponding 6-node (quadratic) triangulation;
triangulation_order1_display, an Octave code which plots piecewise constant data associated with a triangulation;
triangulation_order3_contour, an Octave code which can display a contour plot of scalar data defined on a triangulation of order 3.
triangulation_order6_contour, an Octave code which can display a contour plot of scalar data defined on a triangulation of order 6.
triangulation_q2l, an Octave code which reads information about a 6-node (quadratic) triangulation and creates data defining a corresponding 3-node (linear) triangulation;