TRIANGULATION_ORDER3_CONTOUR is a MATLAB program which reads datafiles describing a set of nodes, their triangulation, and the value of a scalar quantity at each node, and creates a color contour plot of the scalar.
The program reads three data files:
The program automatically displays three plots:
triangulation_order3_contour ( 'prefix' )where
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
TRIANGULATION_ORDER3_CONTOUR is available in a MATLAB version.
DIST_PLOT, a MATLAB program which makes contour plots of the distance function, as defined and used in Persson and Strang's distmesh code;
FEM, a data directory which contains a description and examples of the FEM format.
FEM_BASIS_T3_DISPLAY, a MATLAB program which displays a basis function associated with a linear triangle ("T3") mesh.
FEM2D_PLOT_GPL, a MATLAB program which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a GPL file describing a surface plot of U(X,Y), which can be displayed by GNUPLOT.
LEVELS, a MATLAB library which makes a contour plot, choosing the contour levels using random sampling.
TABLE, the data format which is used for each of the three input data files.
TRIANGULATION, a MATLAB library which carries out various operations on order 3 ("linear") or order 6 ("quadratic") triangulations.
TRIANGULATION_CORNER, a MATLAB program which patches triangulations so that no triangle has two sides on the boundary.
TRIANGULATION_DELAUNAY_DISCREPANCY, a MATLAB program which measures the amount by which a triangulation fails the local Delaunay test;
TRIANGULATION_HISTOGRAM, a MATLAB program which computes histograms of data over a triangulation.
TRIANGULATION_MASK, a MATLAB program which takes an existing triangulation and deletes triangles and their corresponding nodes as requested by the user.
TRIANGULATION_ORDER3, a directory which describes the format for the node and element files describing an order 3 triangulation.
TRIANGULATION_ORDER6_CONTOUR, a MATLAB program which can display a contour plot of scalar data defined on a triangulation of order 6.
TRIANGULATION_ORIENT, a MATLAB program which reads data defining a triangulation, makes sure that every triangle has positive orientation, and if not, writes a corrected triangle file.
TRIANGULATION_QUAD, a MATLAB program which estimates the integral of a function over a triangulated region.
TRIANGULATION_REFINE, a MATLAB program which reads data defining a triangulation, replaces each triangle by four congruent smaller ones, and writes the new triangulation information to a file.
TWOD_PLOTC, a MATLAB program which makes a color contour plot of scalar data defined on a 2D finite element mesh.
CHANNEL is a channel region 3 units wide and 1 unit high. A Stokes flow solver has computed the fluid velocity and pressure in the channel. The pressure is a scalar and can be plotted by this routine. Data files you can copy include:
ELL is an L-shaped region. Data files you can copy include:
ELL2 is the same as ELL, except we do not supply the elements. The program will work just the same, except it will compute triangular elements internally, and write a copy out as a file.
LAKE is a simulated lake with an island region. Data files you can copy include:
You can go up one level to the MATLAB source codes.