Skip to main content

Chebyshev1GaussLobattoQuadrature

This routine returns the n+2n+2 Quadrature points and weights.

Interface

INTERFACE
MODULE SUBROUTINE Chebyshev1GaussLobattoQuadrature(n, pt, wt)
INTEGER(I4B), INTENT(IN) :: n
!! order of Chebyshev1 polynomials
REAL(DFP), INTENT(OUT) :: pt(:)
!! n+2 quad points indexed from 1 to n+2
REAL(DFP), OPTIONAL, INTENT(OUT) :: wt(:)
!! n+2 weights, index from 1 to n+2
END SUBROUTINE Chebyshev1GaussLobattoQuadrature
END INTERFACE

Some Chebyshev Gauss Lobatto Quadrature points

n+2 = 3

-10.7854
1.03412E-131.5708
10.7854

n+2 = 4

-10.5236
-0.51.0472
0.51.0472
10.5236

n+2 = 5

-10.3927
-0.707110.7854
1.03412E-130.7854
0.707110.7854
10.3927

n+2 = 6

-10.31416
-0.809020.62832
-0.309020.62832
0.309020.62832
0.809020.62832
10.31416

n+2 = 7

-10.2618
-0.866030.5236
-0.50.5236
1.03412E-130.5236
0.50.5236
0.866030.5236
10.2618

n+2 = 8

-10.2244
-0.900970.4488
-0.623490.4488
-0.222520.4488
0.222520.4488
0.623490.4488
0.900970.4488
10.2244

n+2 = 9

-10.19635
-0.923880.3927
-0.707110.3927
-0.382680.3927
1.03412E-130.3927
0.382680.3927
0.707110.3927
0.923880.3927
10.19635

n+2 = 10

-10.17453
-0.939690.34907
-0.766040.34907
-0.50.34907
-0.173650.34907
0.173650.34907
0.50.34907
0.766040.34907
0.939690.34907
10.17453