15 real(8) vr(nrmtmax),dvr(nrmtmax)
34 rm=1.d0-2.d0*cso*vr(ir)
35 socfr(irc,ias)=cso*dvr(ir)/(
rsp(ir,is)*rm**2)
43 pure subroutine splined(n,wc,f,df)
46 integer,
intent(in) :: n
47 real(8),
intent(in) :: wc(12,n),f(n)
48 real(8),
intent(out) :: df(n)
52 f1=f(1); f2=f(2); f3=f(3); f4=f(4)
53 df(1)=wc(1,1)*f1+wc(2,1)*f2+wc(3,1)*f3+wc(4,1)*f4
54 df(2)=wc(1,2)*f1+wc(2,2)*f2+wc(3,2)*f3+wc(4,2)*f4
57 f1=f(i-1); f2=f(i); f3=f(i+1); f4=f(i+2)
58 df(i)=wc(1,i)*f1+wc(2,i)*f2+wc(3,i)*f3+wc(4,i)*f4
61 df(i)=wc(1,i)*f1+wc(2,i)*f2+wc(3,i)*f3+wc(4,i)*f4
62 df(n)=wc(1,n)*f1+wc(2,n)*f2+wc(3,n)*f3+wc(4,n)*f4
pure subroutine rfmtlm(lm, nr, nri, rfmt, fr)
integer, dimension(maxatoms *maxspecies) idxis
pure subroutine splined(n, wc, f, df)
subroutine holdthd(nloop, nthd)
real(8), dimension(:,:), allocatable rsp
real(8), dimension(:,:,:), allocatable wcrmt
real(8), dimension(:,:), pointer, contiguous vsmt
integer, dimension(maxspecies) nrmti
real(8), dimension(:,:), allocatable socfr
integer, dimension(maxspecies) nrmt