triangle_interpolate


triangle_interpolate, a Fortran90 code which demonstrates some simple techniques for interpolating data on a triangle.

In the most common case, the value of a quantity is known at the vertices of a triangle, and a reasonable interpolated value is desired at some point p in the interior of that triangle. This can be done by linear interpolation.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

triangle_interpolate is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

triangle_interpolate_test

fem_basis, a Fortran90 code which can define basis functions for the finite element method (FEM) for any degree in an M-dimensional simplex (1D interval, 2D triangle, 3D tetrahedron, and higher dimensional generalizations.)

geometry, a Fortran90 code which performs geometric calculations in 2, 3 and N dimensional space.

triangle, a Fortran90 code which can compute properties, including angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality, of a triangle in 2D.

triangle_analyze, a Fortran90 code which reads a triangle defined in a file, and uses the triangle() library to compute angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality.

triangle_fekete_rule, a Fortran90 code which defines a Fekete rule for quadrature or interpolation over the interior of a triangle in 2D.

triangle_grid, a Fortran90 code which computes a grid of points over the interior of a triangle in 2D.

triangle_histogram, a Fortran90 code which computes histograms of data on the unit triangle in 2D.

Source Code:


Last revised on 10 September 2020.