mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 12:52:14 +00:00
psblas-3.99:
base/internals/psi_bld_tmphalo.f90 base/internals/psi_crea_index.f90 base/internals/psi_desc_index.F90 base/internals/psi_fnd_owner.F90 base/modules/psb_desc_mod.F90 base/modules/psb_desc_mod.f90 base/tools/psb_ccdbldext.F90 base/tools/psb_cins.f90 base/tools/psb_cspins.f90 base/tools/psb_dcdbldext.F90 base/tools/psb_dins.f90 base/tools/psb_dspins.f90 base/tools/psb_scdbldext.F90 base/tools/psb_sins.f90 base/tools/psb_sspins.f90 base/tools/psb_zcdbldext.F90 base/tools/psb_zins.f90 base/tools/psb_zspins.f90 test/fileread/cf_sample.f90 test/fileread/df_sample.f90 test/fileread/sf_sample.f90 test/fileread/zf_sample.f90 test/kernel/d_file_spmv.f90 test/kernel/pdgenspmv.f90 test/pargen/ppde2d.f90 test/pargen/ppde3d.f90 test/pargen/spde2d.f90 test/pargen/spde3d.f90 Take out desc%indxmap% indirection where it makes sense.
This commit is contained in:
@@ -100,8 +100,8 @@ subroutine psi_bld_tmphalo(desc,info)
|
||||
helem(i) = n_row+i ! desc%loc_to_glob(n_row+i)
|
||||
end do
|
||||
|
||||
call desc%indxmap%l2gip(helem(1:nh),info)
|
||||
call desc%indxmap%fnd_owner(helem(1:nh),hproc,info)
|
||||
call desc%l2gip(helem(1:nh),info)
|
||||
call desc%fnd_owner(helem(1:nh),hproc,info)
|
||||
|
||||
if (info /= psb_success_) then
|
||||
call psb_errpush(psb_err_from_subroutine_,name,a_err='fnd_owner')
|
||||
|
||||
@@ -81,7 +81,7 @@ subroutine psi_crea_index(desc_a,index_in,index_out,glob_idx,nxch,nsnd,nrcv,info
|
||||
debug_unit = psb_get_debug_unit()
|
||||
debug_level = psb_get_debug_level()
|
||||
|
||||
ictxt = desc_a%indxmap%get_ctxt()
|
||||
ictxt = desc_a%get_ctxt()
|
||||
|
||||
call psb_info(ictxt,me,np)
|
||||
if (np == -1) then
|
||||
@@ -107,8 +107,8 @@ subroutine psi_crea_index(desc_a,index_in,index_out,glob_idx,nxch,nsnd,nrcv,info
|
||||
& write(debug_unit,*) me,' ',trim(name),': calling extract_dep_list'
|
||||
mode = 1
|
||||
|
||||
call psi_extract_dep_list(desc_a%indxmap%get_ctxt(),&
|
||||
& desc_a%indxmap%is_bld(), desc_a%indxmap%is_upd(),&
|
||||
call psi_extract_dep_list(ictxt,&
|
||||
& desc_a%is_bld(), desc_a%is_upd(),&
|
||||
& index_in, dep_list,length_dl,np,max(1,dl_lda),mode,info)
|
||||
if (info /= psb_success_) then
|
||||
call psb_errpush(psb_err_from_subroutine_,name,a_err='extrct_dl')
|
||||
|
||||
@@ -145,8 +145,8 @@ subroutine psi_desc_index(desc,index_in,dep_list,&
|
||||
debug_unit = psb_get_debug_unit()
|
||||
debug_level = psb_get_debug_level()
|
||||
|
||||
ictxt = desc%indxmap%get_ctxt()
|
||||
icomm = desc%indxmap%get_mpic()
|
||||
ictxt = desc%get_context()
|
||||
icomm = desc%get_mpic()
|
||||
call psb_info(ictxt,me,np)
|
||||
if (np == -1) then
|
||||
info = psb_err_context_error_
|
||||
@@ -261,7 +261,7 @@ subroutine psi_desc_index(desc,index_in,dep_list,&
|
||||
end do
|
||||
else
|
||||
|
||||
call desc%indxmap%l2g(index_in(i+1:i+nerv),&
|
||||
call desc%l2g(index_in(i+1:i+nerv),&
|
||||
& sndbuf(bsdindx(proc+1)+1:bsdindx(proc+1)+nerv),&
|
||||
& info)
|
||||
|
||||
@@ -310,13 +310,13 @@ subroutine psi_desc_index(desc,index_in,dep_list,&
|
||||
i = i + 1
|
||||
nerv = sdsz(proc+1)
|
||||
desc_index(i) = nerv
|
||||
call desc%indxmap%g2l(sndbuf(bsdindx(proc+1)+1:bsdindx(proc+1)+nerv),&
|
||||
call desc%g2l(sndbuf(bsdindx(proc+1)+1:bsdindx(proc+1)+nerv),&
|
||||
& desc_index(i+1:i+nerv),info)
|
||||
|
||||
i = i + nerv + 1
|
||||
nesd = rvsz(proc+1)
|
||||
desc_index(i) = nesd
|
||||
call desc%indxmap%g2l(rcvbuf(brvindx(proc+1)+1:brvindx(proc+1)+nesd),&
|
||||
call desc%g2l(rcvbuf(brvindx(proc+1)+1:brvindx(proc+1)+nesd),&
|
||||
& desc_index(i+1:i+nesd),info)
|
||||
i = i + nesd + 1
|
||||
end do
|
||||
|
||||
@@ -109,10 +109,10 @@ subroutine psi_fnd_owner(nv,idx,iprc,desc,info)
|
||||
goto 9999
|
||||
end if
|
||||
|
||||
call desc%indxmap%fnd_owner(idx(1:nv),iprc,info)
|
||||
call desc%fnd_owner(idx(1:nv),iprc,info)
|
||||
|
||||
if (info /= psb_success_) then
|
||||
call psb_errpush(psb_err_from_subroutine_,name,a_err='indxmap%fnd_owner')
|
||||
call psb_errpush(psb_err_from_subroutine_,name,a_err='desc%fnd_owner')
|
||||
goto 9999
|
||||
end if
|
||||
call psb_erractionrestore(err_act)
|
||||
|
||||
Reference in New Issue
Block a user