|
|
@ -225,7 +225,7 @@ Subroutine psb_dcgstabl(a,prec,b,x,eps,desc_a,info,&
|
|
|
|
Call psb_geaxpby(done,b,dzero,r,desc_a,info)
|
|
|
|
Call psb_geaxpby(done,b,dzero,r,desc_a,info)
|
|
|
|
Call psb_spmm(-done,a,x,done,r,desc_a,info,work=aux)
|
|
|
|
Call psb_spmm(-done,a,x,done,r,desc_a,info,work=aux)
|
|
|
|
|
|
|
|
|
|
|
|
call psb_prc_aply(prec,r,desc_a,info)
|
|
|
|
call psb_precaply(prec,r,desc_a,info)
|
|
|
|
|
|
|
|
|
|
|
|
Call psb_geaxpby(done,r,dzero,rt0,desc_a,info)
|
|
|
|
Call psb_geaxpby(done,r,dzero,rt0,desc_a,info)
|
|
|
|
Call psb_geaxpby(done,r,dzero,rh(:,0),desc_a,info)
|
|
|
|
Call psb_geaxpby(done,r,dzero,rh(:,0),desc_a,info)
|
|
|
@ -285,7 +285,7 @@ Subroutine psb_dcgstabl(a,prec,b,x,eps,desc_a,info,&
|
|
|
|
If (debug) Write(0,*) 'bicg part: ',rh(1,0),beta
|
|
|
|
If (debug) Write(0,*) 'bicg part: ',rh(1,0),beta
|
|
|
|
Call psb_spmm(done,a,uh(:,j),dzero,uh(:,j+1),desc_a,info,work=aux)
|
|
|
|
Call psb_spmm(done,a,uh(:,j),dzero,uh(:,j+1),desc_a,info,work=aux)
|
|
|
|
|
|
|
|
|
|
|
|
call psb_prc_aply(prec,uh(:,j+1),desc_a,info)
|
|
|
|
call psb_precaply(prec,uh(:,j+1),desc_a,info)
|
|
|
|
|
|
|
|
|
|
|
|
gamma(j) = psb_gedot(uh(:,j+1),rt0,desc_a,info)
|
|
|
|
gamma(j) = psb_gedot(uh(:,j+1),rt0,desc_a,info)
|
|
|
|
If (gamma(j)==dzero) Then
|
|
|
|
If (gamma(j)==dzero) Then
|
|
|
@ -299,7 +299,7 @@ Subroutine psb_dcgstabl(a,prec,b,x,eps,desc_a,info,&
|
|
|
|
Call psb_geaxpby(alpha,uh(:,0),done,x,desc_a,info)
|
|
|
|
Call psb_geaxpby(alpha,uh(:,0),done,x,desc_a,info)
|
|
|
|
Call psb_spmm(done,a,rh(:,j),dzero,rh(:,j+1),desc_a,info,work=aux)
|
|
|
|
Call psb_spmm(done,a,rh(:,j),dzero,rh(:,j+1),desc_a,info,work=aux)
|
|
|
|
|
|
|
|
|
|
|
|
call psb_prc_aply(prec,rh(:,j+1),desc_a,info)
|
|
|
|
call psb_precaply(prec,rh(:,j+1),desc_a,info)
|
|
|
|
|
|
|
|
|
|
|
|
Enddo
|
|
|
|
Enddo
|
|
|
|
|
|
|
|
|
|
|
|