mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-16 10:52:08 +00:00
Fix reinit
This commit is contained in:
@@ -537,7 +537,6 @@ subroutine psb_c_coo_reinit(a,clear)
|
||||
if (a%is_dev()) call a%sync()
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = czero
|
||||
call a%set_host()
|
||||
|
||||
@@ -2588,7 +2588,6 @@ subroutine psb_c_csc_reinit(a,clear)
|
||||
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = czero
|
||||
call a%set_upd()
|
||||
|
||||
@@ -2722,7 +2722,6 @@ subroutine psb_c_csr_reinit(a,clear)
|
||||
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = czero
|
||||
call a%set_upd()
|
||||
|
||||
@@ -537,7 +537,6 @@ subroutine psb_d_coo_reinit(a,clear)
|
||||
if (a%is_dev()) call a%sync()
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = dzero
|
||||
call a%set_host()
|
||||
|
||||
@@ -2588,7 +2588,6 @@ subroutine psb_d_csc_reinit(a,clear)
|
||||
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = dzero
|
||||
call a%set_upd()
|
||||
|
||||
@@ -2722,7 +2722,6 @@ subroutine psb_d_csr_reinit(a,clear)
|
||||
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = dzero
|
||||
call a%set_upd()
|
||||
|
||||
@@ -537,7 +537,6 @@ subroutine psb_s_coo_reinit(a,clear)
|
||||
if (a%is_dev()) call a%sync()
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = szero
|
||||
call a%set_host()
|
||||
|
||||
@@ -2588,7 +2588,6 @@ subroutine psb_s_csc_reinit(a,clear)
|
||||
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = szero
|
||||
call a%set_upd()
|
||||
|
||||
@@ -2722,7 +2722,6 @@ subroutine psb_s_csr_reinit(a,clear)
|
||||
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = szero
|
||||
call a%set_upd()
|
||||
|
||||
@@ -537,7 +537,6 @@ subroutine psb_z_coo_reinit(a,clear)
|
||||
if (a%is_dev()) call a%sync()
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = zzero
|
||||
call a%set_host()
|
||||
|
||||
@@ -2588,7 +2588,6 @@ subroutine psb_z_csc_reinit(a,clear)
|
||||
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = zzero
|
||||
call a%set_upd()
|
||||
|
||||
@@ -2722,7 +2722,6 @@ subroutine psb_z_csr_reinit(a,clear)
|
||||
|
||||
if (a%is_bld() .or. a%is_upd()) then
|
||||
! do nothing
|
||||
return
|
||||
else if (a%is_asb()) then
|
||||
if (clear_) a%val(:) = zzero
|
||||
call a%set_upd()
|
||||
|
||||
Reference in New Issue
Block a user