28 implicit real*8 (a-h,o-z)
32 real*8,
dimension(np) :: ct
34 parameter(nstep=1000,acc=1.d-15)
44 do while (iroot.lt.n2)
47 if (dabs(a2).le.acc)
then
61 if (n_filt.ne.np)
then
real *8 function find_root_pol(x1, x2, xacc, n)
Find a root of a polynomial of degree n.
subroutine get_legendre_value(p2, p2der, p1, p1der, n, x)
Computes Legendre polynomial and its derivative on a given point x.
subroutine make_lgl_nodes(np, ct)
Makes Gauss-Legendre-Lobatto nodes.