mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-16 19:02:09 +00:00
*** empty log message ***
This commit is contained in:
@@ -72,9 +72,11 @@ subroutine psi_crea_index(desc_a,index_in,index_out,glob_idx,info)
|
||||
endif
|
||||
|
||||
! allocate dependency list
|
||||
! call psi_compute_size(desc_a%matrix_data, index_in, dl_lda, info)
|
||||
! dl_lda=dl_lda+3
|
||||
! call psi_compute_size(desc_a%matrix_data, index_in, dl_lda, info)
|
||||
! This should be computed more efficiently to save space when
|
||||
! the number of processors becomes very high
|
||||
dl_lda=np+1
|
||||
|
||||
allocate(dep_list(max(1,dl_lda),0:np),length_dl(0:np))
|
||||
! ...extract dependence list (ordered list of identifer process
|
||||
! which every process must communcate with...
|
||||
|
||||
@@ -382,11 +382,19 @@ contains
|
||||
goto 9999
|
||||
end if
|
||||
|
||||
where (p%dorig /= zero)
|
||||
p%dorig = one / p%dorig
|
||||
elsewhere
|
||||
p%dorig = one
|
||||
end where
|
||||
do i=1,size(p%dorig)
|
||||
if (p%dorig(i) /= zero) then
|
||||
p%dorig(i) = one / p%dorig(i)
|
||||
else
|
||||
p%dorig(i) = one
|
||||
end if
|
||||
end do
|
||||
|
||||
! where (p%dorig /= zero)
|
||||
! p%dorig = one / p%dorig
|
||||
! elsewhere
|
||||
! p%dorig = one
|
||||
! end where
|
||||
|
||||
|
||||
! 1. Allocate Ptilde in sparse matrix form
|
||||
|
||||
Reference in New Issue
Block a user