1 SUBROUTINE dpcgrc(IDO,N,X,P,R,Z,RELERR,ITMAX)
14 REAL*8 alfa,beta,error,c1
24 rsnorm=rsnorm+r(i)*r(i)
30 ELSE IF(ido.EQ.1 .AND. iter.EQ.0)
THEN
38 error = error + r(i)*r(i)
40 error=dsqrt(error)/rsnorm
41 IF(error.LE.relerr)
THEN
48 ELSE IF(ido.EQ.2 .AND.iter.EQ.0)
THEN
62 ELSE IF(ido.EQ.1)
THEN
80 error = error + r(i)*r(i)
82 error=dsqrt(error)/rsnorm
83 IF(error.LE.relerr .OR. iter.GE.itmax)
THEN
90 ELSE IF(ido.EQ.2)
THEN
real(r8) function p(a, x, xr, xs, yr, ys, psi, psir, F_dia)
subroutine dpcgrc(IDO, N, X, P, R, Z, RELERR, ITMAX)