mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-06 22:55:08 +00:00
Final fix for log_conv in rgmres
This commit is contained in:
@@ -472,7 +472,7 @@ subroutine psb_crgmres_vect(a,prec,b,x,eps,desc_a,info,&
|
||||
call psb_geaxpby(cone,w,cone,x,desc_a,info)
|
||||
end if
|
||||
|
||||
if (itx >= litmax) then
|
||||
if ((itx >= litmax).and.(itrace_ > 0)) then
|
||||
if (mod(itx,itrace_)/=0) &
|
||||
& call log_conv(methdname,me,itx,ione,errnum,errden,deps)
|
||||
exit restart
|
||||
|
||||
@@ -472,7 +472,7 @@ subroutine psb_drgmres_vect(a,prec,b,x,eps,desc_a,info,&
|
||||
call psb_geaxpby(done,w,done,x,desc_a,info)
|
||||
end if
|
||||
|
||||
if (itx >= litmax) then
|
||||
if ((itx >= litmax).and.(itrace_ > 0)) then
|
||||
if (mod(itx,itrace_)/=0) &
|
||||
& call log_conv(methdname,me,itx,ione,errnum,errden,deps)
|
||||
exit restart
|
||||
|
||||
@@ -472,7 +472,7 @@ subroutine psb_srgmres_vect(a,prec,b,x,eps,desc_a,info,&
|
||||
call psb_geaxpby(sone,w,sone,x,desc_a,info)
|
||||
end if
|
||||
|
||||
if (itx >= litmax) then
|
||||
if ((itx >= litmax).and.(itrace_ > 0)) then
|
||||
if (mod(itx,itrace_)/=0) &
|
||||
& call log_conv(methdname,me,itx,ione,errnum,errden,deps)
|
||||
exit restart
|
||||
|
||||
@@ -472,7 +472,7 @@ subroutine psb_zrgmres_vect(a,prec,b,x,eps,desc_a,info,&
|
||||
call psb_geaxpby(zone,w,zone,x,desc_a,info)
|
||||
end if
|
||||
|
||||
if (itx >= litmax) then
|
||||
if ((itx >= litmax).and.(itrace_ > 0)) then
|
||||
if (mod(itx,itrace_)/=0) &
|
||||
& call log_conv(methdname,me,itx,ione,errnum,errden,deps)
|
||||
exit restart
|
||||
|
||||
Reference in New Issue
Block a user