triangulation_order1_display


triangulation_order1_display, a MATLAB code which can make a 3D plot of piecewise constant data defined on a mesh of triangles.

The input from the user includes:

Usage:

triangulation_order1_display ( 'prefix' )
where 'prefix' is the common file prefix: reads the data and makes a plot.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

triangulation_order1_display is available in a MATLAB version.

Related Data and Programs:

bezier_surface_display, a MATLAB code which reads two files defining a bezier surface and displays it within MATLAB.

mesh_display, a MATLAB code which reads data defining a polygonal mesh and displays it, with optional numbering.

obj_display, a MATLAB code which reads an obj file defining a 3d object and displays it within MATLAB.

polygonal_surface_display, a MATLAB code which reads two files defining a polygonal surface and displays it within MATLAB.

pwc_plot, a MATLAB code which converts the definition of a piecewise constant function into plottable data.

quad_mesh_order1_display, a MATLAB code which plots piecewise constant data associated with a mesh of quadrilaterals;

quad_surface_display, a MATLAB code which reads files defining a 3d quadrilateral mesh surface and displays it within MATLAB.

stla_display, a MATLAB code which reads an ascii stl file defining a 3d object and displays it within MATLAB.

tet_mesh_display, a MATLAB code which reads files defining a tet mesh and displays an image within MATLAB.

tri_surface_display, a MATLAB code which reads data defining a triangular mesh of a 3d surface and displays it.

triangulation, a MATLAB code of routines for carrying out various operations on order 3 ("linear") or order 6 ("quadratic") triangulations.

triangulation_node_to_element, a MATLAB code which reads files 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.

triangulation_order1_display_test

triangulation_order3_contour, a MATLAB code which makes a contour plot of a scalar quantity that is defined on a finite element mesh of three-node triangles.

triangulation_order6_contour, a MATLAB code which makes a contour plot of a scalar quantity that is defined on a finite element mesh of six-node triangles.

triangulation_orient, a MATLAB code that reads data defining a triangulation, makes sure that every triangle has positive orientation, and if not, writes a corrected triangle file.

triangulation_plot, a MATLAB code which plots the nodes and triangles that make up a finite element mesh.

triangulation_quad, a MATLAB code which estimates the integral of a function over a triangulated region.

triangulation_refine, a MATLAB code which reads data defining a triangulation, replaces each triangle by four congruent smaller ones, and writes the new triangulation information to a file.

Source Code:


Last revised on 10 April 2019.