Code: Quadrature on Tetrahedra
From CFD-Wiki
Revision as of 12:34, 9 July 2011 by Jonas Holdeman (Talk | contribs)
Some Gauss quadrature rules for the right-tetrahedron with corners at (0,0,0), (1,0,0), (0,1,0), (0,0,1).
4-point quadrature, k=2 ------------------------------------------------------ a=0.58541020, b=0.13819660 ------------------------------------------------------ x-coordinate y-coordinate z-coordinate 6 x Weight ------------------------------------------------------ a b b 0.25 b a b 0.25 b b a 0.25 a a a 0.25 ------------------------------------------------------
4-point quadrature, k=3 ------------------------------------------------------ x-coordinate y-coordinate z-coordinate 6 x Weight ------------------------------------------------------ 1/4 1/4 1/4 -8/10 1/2 1/6 1/6 9/20 1/6 1/2 1/6 9/20 1/6 1/6 1/2 9/20 1/6 1/6 1/6 9/20 ------------------------------------------------------
</pre>