<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hello Lester,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 01/01/2021 à 09:16, arctica1963 a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:1609488961566-0.post@n3.nabble.com">
<pre class="moz-quote-pre" wrap="">Hello all,
I have worked out a simpler input for 2D integration with a function that
calls int2d:
function [Integral, error]=Integral_2d(xmin,xmax,ymin,ymax,f)
X=[xmin xmax xmax; xmin xmax xmin]'
Y=[ymin ymin ymax; ymin ymax ymax]'
[Integral, error]=int2d(X,Y,f)
endfunction
This simplifies the issue for triangulation and only needs the x, y limits
and function to integrate; tested with the int2d example and works fine.
Is it feasible to use the same methodology for int3d - triple integral - for
defining the tetrahedron vertices? Really all one wants to do is enter the
limits of x, y and z, with a function f(x,y,z).
Any suggestions would be welcome</pre>
</blockquote>
<p><br>
</p>
<p>With Scilab <b>6.0.2</b> you can install the CGLAB toolbox <b>atomsInstall("cglab")</b>.
Then its <b>delaunay_3()</b> function will yield tetrahedrons
required by int3d(). An intermediate step might be required to
specify tetrahedrons in the way that int3d() expects.<br>
<br>
Best wishes and Happy New Year 2021 to you, and to all Scilab
users!<br>
<br>
Samuel<br>
<br>
</p>
</body>
</html>