8 common /comwrp/ rsp1,p1,ip1
9 real*8 zw(neqp),rsp1(nspp)
11 integer p1(neqp),ip1(neqp),isp1(nspp),ipath,flag,esp
12 equivalence(rsp1(1),isp1(1))
21 call
odrvd(neqpla,ia,ja,a,p1,ip1,nspp,isp1,1,flag)
25 call
sdrvd(neqpla,p1,ip1,ia,ja,a,right,zw,nspp,
26 * isp1,rsp1,esp,ipath,flag)
30 if( itin/nitdel*nitdel+nitbeg .eq. itin
32 * .OR. errm.gt.7.7d-2 )
then
35 call
odrvd(neqpla,ia,ja,a,p1,ip1,nspp,isp1,1,flag)
48 call
sdrvd(neqpla,p1,ip1,ia,ja,a,right,zw,nspp,
49 * isp1,rsp1,esp,ipath,flag)
52 c
write(6,*)
'zw(i) i',i,zw(i)
56 write(6,*)
'sdrv: flag,esp',flag,esp
74 wght(i)=1.d0/(2.0d0+sqrt(1.d0-psia(i))*q(i)/q(1))
75 if(iswtch.eq.1) wght(i)=0.5d0
78 if(iter.eq.1) wght(i)=1.0d0
89 delpsi=dabs(psi(i,j)-zw(ieq))
90 errpss=dmax1(errpss,delpsi)
92 psi(i,j)=zw(ieq)*wght(i)+(1.d0-wght(i))*psi(i,j)
119 common /comwrp/ rsp1,p1,ip1
120 real*8 zw(neqp),zyy(neqp),rsp1(nspp),wpp(neqp),wzz(neqp),
121 * wrr(neqp),zuu(neqp)
122 integer p1(neqp),ip1(neqp),isp1(nspp),ipath,flag,esp
123 equivalence(rsp1(1),isp1(1))
157 znes=znes+dapp(im)*zw(ic)
165 call
sdrvd(neqpla,p1,ip1,ia,ja,app0,zyy,zw,nspp,
166 * isp1,rsp1,esp,3,flag)
177 77 call
dpcgrc(ido,neqpla,zw,wpp,wrr,wzz,relerr,itmax)
195 znes=znes+a(im)*wpp(ic)
205 elseif(ido.eq.2)
then
207 call
sdrvd(neqpla,p1,ip1,ia,ja,app0,wrr,wzz,nspp,
208 * isp1,rsp1,esp,3,flag)
212 if(itk.eq.1) go to 1056
225 znes=znes+dapp(im)*wzz(ic)
233 call
sdrvd(neqpla,p1,ip1,ia,ja,app0,zyy,zuu,nspp,
234 * isp1,rsp1,esp,3,flag)
240 wzz(il)=wzz(il)-zuu(il)
295 c
write(6,*)
' **iter ',itk
324 znev=znev+a(im)*zw(ic)
337 c
write(6,*)
'***right znev ***',il,right(il),znev
339 znmx=dmax1(znmx,znab)
343 c
write(6,*)
'nev:',znmx
function numlin(i, j, nr, nt)
subroutine dpcgrc(IDO, N, X, P, R, Z, RELERR, ITMAX)