This Matlab code provides an evaluation of the three integrals of the article in SIAM Journal on Scientific Computing. The available online version of the code which uses protected files enables the calculation of 4-D integrals (integrals on the product of two triangles). This code works correctly on versions greater than or equal to Matlab 2008a.
By sending an email request to an email request you can obtain the non-protected version.This Matlab code has been developed for research purposes only, and hence should not be used as a production tool. In no event shall the authors or distributors be liable to any direct, indirect, special, incidental, or consequential damages arising of the use of this code, its documentation, or any derivatives thereof, even if the authors have been advised of the possibility of such damage. This code has been seriously valided for many geometrical configurations but it is an experimental code so errors can still occur. Unfornately, if you encounter any problems, thank you for informing me at nicolas.salles@ensta-paristech.fr.
The code is available here in zip format and in tar/gz format.
A documentation and two example files are provided in the archive.