mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-24 14:51:49 +00:00
psblas3:
base/comm/psb_ihalo.f90 base/comm/psb_iovrl.f90 base/internals/psi_ovrl_restr.f90 base/internals/psi_ovrl_save.f90 base/internals/psi_ovrl_upd.f90 base/modules/psb_i_tools_mod.f90 base/modules/psi_i_mod.f90 base/tools/psb_ialloc.f90 base/tools/psb_iasb.f90 base/tools/psb_ifree.f90 base/tools/psb_iins.f90 Fixes fir i_Vect
This commit is contained in:
@@ -30,7 +30,8 @@
|
||||
!!$
|
||||
!!$
|
||||
module psb_i_tools_mod
|
||||
use psb_descriptor_type, only : psb_desc_type, psb_spk_, psb_ipk_, psb_success_
|
||||
use psb_descriptor_type, only : psb_desc_type, psb_ipk_, psb_success_
|
||||
use psb_i_vect_mod, only : psb_i_base_vect_type, psb_i_vect_type
|
||||
|
||||
|
||||
interface psb_geall
|
||||
@@ -48,6 +49,14 @@ module psb_i_tools_mod
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: n
|
||||
end subroutine psb_iallocv
|
||||
subroutine psb_ialloc_vect(x, desc_a,info,n)
|
||||
import :: psb_desc_type, psb_ipk_, &
|
||||
& psb_i_base_vect_type, psb_i_vect_type
|
||||
type(psb_i_vect_type), intent(out) :: x
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_),intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: n
|
||||
end subroutine psb_ialloc_vect
|
||||
end interface
|
||||
|
||||
|
||||
@@ -64,6 +73,15 @@ module psb_i_tools_mod
|
||||
integer(psb_ipk_), allocatable, intent(inout) :: x(:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psb_iasbv
|
||||
subroutine psb_iasb_vect(x, desc_a, info,mold, scratch)
|
||||
import :: psb_desc_type, psb_ipk_, &
|
||||
& psb_i_base_vect_type, psb_i_vect_type
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_i_vect_type), intent(inout) :: x
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
class(psb_i_base_vect_type), intent(in), optional :: mold
|
||||
logical, intent(in), optional :: scratch
|
||||
end subroutine psb_iasb_vect
|
||||
end interface
|
||||
|
||||
|
||||
@@ -80,10 +98,17 @@ module psb_i_tools_mod
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psb_ifreev
|
||||
subroutine psb_ifree_vect(x, desc_a, info)
|
||||
import :: psb_desc_type, psb_ipk_, &
|
||||
& psb_i_base_vect_type, psb_i_vect_type
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_i_vect_type), intent(inout) :: x
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psb_ifree_vect
|
||||
end interface
|
||||
|
||||
interface psb_geins
|
||||
subroutine psb_iinsi(m,irw,val, x,desc_a,info,dupl)
|
||||
subroutine psb_iinsi(m,irw,val, x,desc_a,info,dupl,local)
|
||||
import :: psb_ipk_, psb_desc_type
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
@@ -92,8 +117,9 @@ module psb_i_tools_mod
|
||||
integer(psb_ipk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_iinsi
|
||||
subroutine psb_iinsvi(m, irw,val, x,desc_a,info,dupl)
|
||||
subroutine psb_iinsvi(m, irw,val, x,desc_a,info,dupl,local)
|
||||
import :: psb_ipk_, psb_desc_type
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
@@ -102,7 +128,20 @@ module psb_i_tools_mod
|
||||
integer(psb_ipk_), intent(in) :: val(:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_iinsvi
|
||||
subroutine psb_iins_vect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
import :: psb_desc_type, psb_ipk_, &
|
||||
& psb_i_base_vect_type, psb_i_vect_type
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_i_vect_type), intent(inout) :: x
|
||||
integer(psb_ipk_), intent(in) :: irw(:)
|
||||
integer(psb_ipk_), intent(in) :: val(:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_iins_vect
|
||||
end interface
|
||||
|
||||
|
||||
|
||||
@@ -413,6 +413,13 @@ module psi_i_mod
|
||||
integer(psb_ipk_), intent(in) :: update
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psi_iovrl_updr2
|
||||
subroutine psi_iovrl_upd_vect(x,desc_a,update,info)
|
||||
import :: psb_desc_type, psb_ipk_, psb_i_base_vect_type
|
||||
class(psb_i_base_vect_type) :: x
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(in) :: update
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psi_iovrl_upd_vect
|
||||
end interface
|
||||
|
||||
interface psi_ovrl_save
|
||||
@@ -430,6 +437,13 @@ module psi_i_mod
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psi_iovrl_saver2
|
||||
subroutine psi_iovrl_save_vect(x,xs,desc_a,info)
|
||||
import :: psb_desc_type, psb_ipk_, psb_i_base_vect_type
|
||||
class(psb_i_base_vect_type) :: x
|
||||
integer(psb_ipk_), allocatable :: xs(:)
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psi_iovrl_save_vect
|
||||
end interface
|
||||
|
||||
interface psi_ovrl_restore
|
||||
@@ -447,6 +461,13 @@ module psi_i_mod
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psi_iovrl_restrr2
|
||||
subroutine psi_iovrl_restr_vect(x,xs,desc_a,info)
|
||||
import :: psb_desc_type, psb_ipk_, psb_i_base_vect_type
|
||||
class(psb_i_base_vect_type) :: x
|
||||
integer(psb_ipk_) :: xs(:)
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psi_iovrl_restr_vect
|
||||
end interface
|
||||
|
||||
end module psi_i_mod
|
||||
|
||||
Reference in New Issue
Block a user