triangulation_quad_test
triangulation_quad_test,
a Fortran90 code which
calls triangulation_quad(), which
reads information defining a triangulation, and estimates the integral of
a function whose values are given at the nodes.
Licensing:
The information on this web page is distributed under the MIT license.
Related Data and Programs:
triangulation_quad,
a Fortran90 code which
estimates the integral of a function over a triangulated region.
Source Code:
EXAMPLE is a set of nodes in the unit square, which have
been arranged into an order 3 triangulation.
-
example_nodes.txt,
the node file.
-
example_elements.txt,
the element file.
-
example_values.txt,
the values file, containing 4 values at each node.
(These values are actually the values of 1, x, y, and x*y,
which have exact integrals of 1, 1/2, 1/2, and 1/4.)
Only the first three integrals will be estimated exactly.
-
example_output.txt,
the output file from the command
triangulation_quad example
Last revised on 10 September 2020.