Vous êtes sur la page 1sur 2

www.numerical-methods.

com

Numerical Methods Library in Excel VBA


Module

Sub glt7tests.bas

Title

Tests code for 7-point Gaussian quadrature rule on a triangle

Description

Tests the weights and points , of the Gaussian quadrature rule:


1

(, ) ( , ),
=1

Which is set by the routine glt7.bas.


The test problems are functions of the form (, ) = on the
domain of the standard triangle.

0
Let

=
0

The values of =

(1)

are listed in the following table1.

K - Reciprocal of I-values
m

0
1
2
n
3
4
5

1Polynomial

12

20

30

42

24

60 120

210

336

12

60 180 420

840 1512

20

120 420 1120 2520 5040

30

210 840 2520 6300 13860

42

336 1512 5040 13860 33264

Test Problems for Quadrature Rules on the Standard Triangle

www.numerical-methods.com
Hence

Interface
Web source of
code.
Web source of
this guide
Web source of
the algorithm
Dependent
routines
Test problems or
code tested

Licence

= 1 .

Sub glt7tests()

http://www.numerical-methods.com/Excel_VBA/glt7.xlsm
http://www.numerical-methods.com/Excel_VBA/glt7tests_bas.htm

NONE

http://www.numerical-methods.com/Excel_VBA/glt7_bas.htm
This is open source; the software may be used and applied within other
systems as long as its provenance is appropriately acknowledged.
See the GNU Licence for more information or contact
webmaster@numerical-methods.com

Similar codes
that may be of
interest
Applications
Polynomial Test Problems for Quadrature Rules on the Standard Triangle
Bibilography
Some criteria for numerically integrated matrices and quadrature
formulas for triangles by Laursen and Gellert
Gaussian Quadrature

Vous aimerez peut-être aussi