base/modules/psb_desc_mod.F90
 base/tools/psb_ccdbldext.F90
 base/tools/psb_cd_set_bld.f90
 base/tools/psb_dcdbldext.F90
 base/tools/psb_scdbldext.F90
 base/tools/psb_zcdbldext.F90

Move reinit to set_bld, take it out from BLDEXT.
psblas-3.4-maint
Salvatore Filippone 10 years ago
parent 271739f31a
commit 31d74c235f

@ -1070,6 +1070,7 @@ contains
end subroutine psb_cd_clone end subroutine psb_cd_clone
Subroutine psb_cd_get_recv_idx(tmp,desc,data,info,toglob) Subroutine psb_cd_get_recv_idx(tmp,desc,data,info,toglob)
use psb_error_mod use psb_error_mod

@ -177,7 +177,6 @@ Subroutine psb_ccdbldext(a,desc_a,novr,desc_ov,info, extype)
! 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
if (info == 0) call desc_ov%indxmap%reinit(info)
if (info == 0) call psb_cd_set_ovl_bld(desc_ov,info) if (info == 0) call psb_cd_set_ovl_bld(desc_ov,info)
if (info /= 0) goto 9999 if (info /= 0) goto 9999

@ -39,7 +39,6 @@ subroutine psb_cd_set_ovl_bld(desc,info)
if (info == psb_success_) then if (info == psb_success_) then
if (desc%indxmap%row_extendable()) then if (desc%indxmap%row_extendable()) then
call desc%indxmap%set_state(psb_desc_ovl_bld_) call desc%indxmap%set_state(psb_desc_ovl_bld_)
!!$ desc%matrix_data(psb_dec_type_) = psb_desc_ovl_bld_
else else
info = psb_err_invalid_cd_state_ info = psb_err_invalid_cd_state_
end if end if
@ -70,10 +69,8 @@ subroutine psb_cd_set_bld(desc,info)
call psb_info(ictxt, me, np) call psb_info(ictxt, me, np)
if (debug) write(psb_err_unit,*) me,'Entered CDSETBLD' if (debug) write(psb_err_unit,*) me,'Entered CDSETBLD'
if (psb_is_asb_desc(desc)) then if (desc%is_asb()) call psb_cd_reinit(desc,info)
end if
!!$ desc%matrix_data(psb_dec_type_) = psb_desc_bld_
call desc%indxmap%set_state(psb_desc_bld_) call desc%indxmap%set_state(psb_desc_bld_)
if (debug) write(psb_err_unit,*) me,'SET_BLD: done' if (debug) write(psb_err_unit,*) me,'SET_BLD: done'

@ -177,7 +177,6 @@ Subroutine psb_dcdbldext(a,desc_a,novr,desc_ov,info, extype)
! 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
if (info == 0) call desc_ov%indxmap%reinit(info)
if (info == 0) call psb_cd_set_ovl_bld(desc_ov,info) if (info == 0) call psb_cd_set_ovl_bld(desc_ov,info)
if (info /= 0) goto 9999 if (info /= 0) goto 9999

@ -177,7 +177,6 @@ Subroutine psb_scdbldext(a,desc_a,novr,desc_ov,info, extype)
! 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
if (info == 0) call desc_ov%indxmap%reinit(info)
if (info == 0) call psb_cd_set_ovl_bld(desc_ov,info) if (info == 0) call psb_cd_set_ovl_bld(desc_ov,info)
if (info /= 0) goto 9999 if (info /= 0) goto 9999

@ -177,7 +177,6 @@ Subroutine psb_zcdbldext(a,desc_a,novr,desc_ov,info, extype)
! 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
if (info == 0) call desc_ov%indxmap%reinit(info)
if (info == 0) call psb_cd_set_ovl_bld(desc_ov,info) if (info == 0) call psb_cd_set_ovl_bld(desc_ov,info)
if (info /= 0) goto 9999 if (info /= 0) goto 9999

Loading…
Cancel
Save