base/modules/psb_hash_mod.f90
 base/tools/psb_ccdbldext.F90
 base/tools/psb_dcdbldext.F90
 base/tools/psb_scdbldext.F90
 base/tools/psb_zcdbldext.F90

Fix reinit of hash index_map.
psblas-3.4-maint
Salvatore Filippone 11 years ago
parent 003a1096ce
commit 99798dbcff

@ -303,6 +303,10 @@ contains
hd = hsize - hk hd = hsize - hk
hd = ior(hd,1) hd = ior(hd,1)
end if end if
if (.not.allocated(hash%table)) then
info = HashOutOfMemory
return
end if
hash%nsrch = hash%nsrch + 1 hash%nsrch = hash%nsrch + 1
do do

@ -170,10 +170,10 @@ Subroutine psb_ccdbldext(a,desc_a,novr,desc_ov,info, extype)
endif endif
if ((extype_ == psb_ovt_asov_).and.& if (extype_ == psb_ovt_asov_) then
& (.not.desc_ov%indxmap%row_extendable())) then
! Need to switch to a format that can support overlap, ! Need to switch to a format that can support overlap,
! so far: LIST or HASH. Encapsulate choice ! so far: LIST or HASH. This will also reinitialize properly
! the inex map contents. Encapsulate choice
! in a separate method. ! in a separate method.
call psb_cd_switch_ovl_indxmap(desc_ov,info) call psb_cd_switch_ovl_indxmap(desc_ov,info)
end if end if

@ -170,10 +170,10 @@ Subroutine psb_dcdbldext(a,desc_a,novr,desc_ov,info, extype)
endif endif
if ((extype_ == psb_ovt_asov_).and.& if (extype_ == psb_ovt_asov_) then
& (.not.desc_ov%indxmap%row_extendable())) then
! Need to switch to a format that can support overlap, ! Need to switch to a format that can support overlap,
! so far: LIST or HASH. Encapsulate choice ! so far: LIST or HASH. This will also reinitialize properly
! the inex map contents. Encapsulate choice
! in a separate method. ! in a separate method.
call psb_cd_switch_ovl_indxmap(desc_ov,info) call psb_cd_switch_ovl_indxmap(desc_ov,info)
end if end if

@ -170,10 +170,10 @@ Subroutine psb_scdbldext(a,desc_a,novr,desc_ov,info, extype)
endif endif
if ((extype_ == psb_ovt_asov_).and.& if (extype_ == psb_ovt_asov_) then
& (.not.desc_ov%indxmap%row_extendable())) then
! Need to switch to a format that can support overlap, ! Need to switch to a format that can support overlap,
! so far: LIST or HASH. Encapsulate choice ! so far: LIST or HASH. This will also reinitialize properly
! the inex map contents. Encapsulate choice
! in a separate method. ! in a separate method.
call psb_cd_switch_ovl_indxmap(desc_ov,info) call psb_cd_switch_ovl_indxmap(desc_ov,info)
end if end if

@ -170,10 +170,10 @@ Subroutine psb_zcdbldext(a,desc_a,novr,desc_ov,info, extype)
endif endif
if ((extype_ == psb_ovt_asov_).and.& if (extype_ == psb_ovt_asov_) then
& (.not.desc_ov%indxmap%row_extendable())) then
! Need to switch to a format that can support overlap, ! Need to switch to a format that can support overlap,
! so far: LIST or HASH. Encapsulate choice ! so far: LIST or HASH. This will also reinitialize properly
! the inex map contents. Encapsulate choice
! in a separate method. ! in a separate method.
call psb_cd_switch_ovl_indxmap(desc_ov,info) call psb_cd_switch_ovl_indxmap(desc_ov,info)
end if end if

Loading…
Cancel
Save