mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-18 03:42:09 +00:00
psblas3:
base/internals/psb_indx_map_fnd_owner.F90 base/modules/psb_base_tools_mod.f90 base/modules/psb_desc_const_mod.f90 base/modules/psb_indx_map_mod.f90 base/tools/psb_cd_inloc.f90 base/tools/psb_cdall.f90 base/tools/psb_cdals.f90 base/tools/psb_cdalv.f90 base/tools/psb_cdcpy.F90 base/tools/psb_icdasb.F90 util/psb_mat_dist_impl.f90 Added tempvg and parts components in indxmap. Revised declaration of PARTS subroutine.
This commit is contained in:
@@ -423,14 +423,14 @@ module psb_cd_tools_mod
|
||||
interface psb_cdall
|
||||
|
||||
subroutine psb_cdall(ictxt, desc, info,mg,ng,parts,vg,vl,flag,nl,repl, globalcheck)
|
||||
import :: psb_ipk_, psb_desc_type
|
||||
import :: psb_ipk_, psb_desc_type, psb_parts
|
||||
implicit None
|
||||
include 'parts.fh'
|
||||
integer(psb_ipk_), intent(in) :: mg,ng,ictxt, vg(:), vl(:),nl
|
||||
integer(psb_ipk_), intent(in) :: flag
|
||||
logical, intent(in) :: repl, globalcheck
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
type(psb_desc_type), intent(out) :: desc
|
||||
procedure(psb_parts) :: parts
|
||||
integer(psb_ipk_), intent(in) :: mg,ng,ictxt, vg(:), vl(:),nl
|
||||
integer(psb_ipk_), intent(in) :: flag
|
||||
logical, intent(in) :: repl, globalcheck
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
type(psb_desc_type), intent(out) :: desc
|
||||
|
||||
optional :: mg,ng,parts,vg,vl,flag,nl,repl, globalcheck
|
||||
end subroutine psb_cdall
|
||||
|
||||
@@ -119,4 +119,12 @@ module psb_desc_const_mod
|
||||
integer(psb_ipk_), parameter :: psb_ovrlp_elem_to_=2, psb_ovrlp_elem_=0
|
||||
integer(psb_ipk_), parameter :: psb_n_dom_ovr_=1
|
||||
|
||||
interface
|
||||
subroutine psb_parts(glob_index,nrow,np,pv,nv)
|
||||
import :: psb_ipk_
|
||||
integer(psb_ipk_), intent (in) :: glob_index,np,nrow
|
||||
integer(psb_ipk_), intent (out) :: nv, pv(*)
|
||||
end subroutine psb_parts
|
||||
end interface
|
||||
|
||||
end module psb_desc_const_mod
|
||||
|
||||
@@ -95,7 +95,11 @@ module psb_indx_map_mod
|
||||
integer(psb_ipk_) :: global_cols = -1
|
||||
integer(psb_ipk_) :: local_rows = -1
|
||||
integer(psb_ipk_) :: local_cols = -1
|
||||
|
||||
|
||||
procedure(psb_parts), nopass, pointer :: parts => null()
|
||||
integer(psb_ipk_), allocatable :: tempvg(:)
|
||||
integer(psb_ipk_), allocatable :: oracle(:,:)
|
||||
|
||||
contains
|
||||
|
||||
procedure, pass(idxmap) :: get_state => base_get_state
|
||||
|
||||
Reference in New Issue
Block a user