25 February 2008 12:13:07.944 PM INT_EXACTNESS_GEGENBAUER FORTRAN90 version Investigate the polynomial exactness of a Gauss-Gegenbauer quadrature rule by integrating weighted monomials up to a given degree over the [-1,+1] interval. INT_EXACTNESS_GEGENBAUER: User input: Quadrature rule X file = "gegen_o2_a0.5_x.txt". Quadrature rule W file = "gegen_o2_a0.5_w.txt". Quadrature rule R file = "gegen_o2_a0.5_r.txt". Maximum degree to check = 5 Exponent of (1-x^2), ALPHA = 0.500000 Spatial dimension = 1 Number of points = 2 The quadrature rule to be tested is a Gauss-Gegenbauer rule ORDER = 2 ALPHA = 0.500000 Standard rule: Integral ( -1 <= x <= +1 ) (1-x^2)^alpha f(x) dx is to be approximated by sum ( 1 <= I <= ORDER ) w(i) * f(x(i)). Weights W: w( 1) = 0.7853981633974484 w( 2) = 0.7853981633974484 Abscissas X: x( 1) = -0.5000000000000000 x( 2) = 0.5000000000000000 Region R: r( 1) = -1.0000000000000000 r( 2) = 1.0000000000000000 A Gauss-Gegenbauer rule would be able to exactly integrate monomials up to and including degree = 3 Error Degree Exponents 0.0000000000000007 0 0 0.0000000000000000 1 1 0.0000000000000000 2 2 0.0000000000000000 3 3 0.5000000000000001 4 4 0.0000000000000000 5 5 INT_EXACTNESS_GEGENBAUER: Normal end of execution. 25 February 2008 12:13:07.949 PM