34 implicit real*8 (a-h,o-z)
56 a1=(2.d0*dk+1.d0)/(dk+1.d0)
59 p2der=a1*p1+a1*p1der*x+a2*p0der
60 p2der2=a1*p1der2*x+2.d0*a1*p1der+a2*p0der2
70 a1=(2.d0*dk+1.d0)/(dk+1.d0)
73 p2der=a1*p1+a1*p1der*x+a2*p0der
74 p2der2=a1*p1der2*x+2.d0*a1*p1der+a2*p0der2
subroutine get_legendre_value_2der(p2der2, p2, p2der, p1, p1der, n, x)
Computes Legendre polynomial and its first and second derivative on a given point x.