mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-24 14:51:49 +00:00
Changes for remote build interfaces. Implementation to be completed.
This commit is contained in:
@@ -40,41 +40,43 @@ Module psb_c_tools_mod
|
||||
use psi_mod, only : psb_snd, psb_rcv ! Needed only for psb_getelem
|
||||
|
||||
interface psb_geall
|
||||
subroutine psb_calloc_vect(x, desc_a,info)
|
||||
subroutine psb_calloc_vect(x, desc_a,info, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_c_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) :: dupl, bldmode
|
||||
end subroutine psb_calloc_vect
|
||||
subroutine psb_calloc_vect_r2(x, desc_a,info,n,lb)
|
||||
subroutine psb_calloc_vect_r2(x, desc_a,info,n,lb, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_c_vect_type), allocatable, intent(out) :: x(:)
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_),intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: n, lb
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_calloc_vect_r2
|
||||
subroutine psb_calloc_multivect(x, desc_a,info,n)
|
||||
subroutine psb_calloc_multivect(x, desc_a,info,n, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_c_multivect_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
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_calloc_multivect
|
||||
end interface
|
||||
|
||||
|
||||
interface psb_geasb
|
||||
subroutine psb_casb_vect(x, desc_a, info,mold, dupl,scratch)
|
||||
subroutine psb_casb_vect(x, desc_a, info,mold, scratch)
|
||||
import
|
||||
implicit none
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_c_vect_type), intent(inout) :: x
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
class(psb_c_base_vect_type), intent(in), optional :: mold
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: scratch
|
||||
end subroutine psb_casb_vect
|
||||
subroutine psb_casb_vect_r2(x, desc_a, info,mold, scratch)
|
||||
@@ -124,7 +126,7 @@ Module psb_c_tools_mod
|
||||
|
||||
|
||||
interface psb_geins
|
||||
subroutine psb_cins_vect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_cins_vect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -133,10 +135,9 @@ Module psb_c_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
complex(psb_spk_), intent(in) :: val(:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_cins_vect
|
||||
subroutine psb_cins_vect_v(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_cins_vect_v(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -145,10 +146,9 @@ Module psb_c_tools_mod
|
||||
type(psb_l_vect_type), intent(inout) :: irw
|
||||
type(psb_c_vect_type), intent(inout) :: val
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_cins_vect_v
|
||||
subroutine psb_cins_vect_r2(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_cins_vect_r2(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -157,10 +157,9 @@ Module psb_c_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
complex(psb_spk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_cins_vect_r2
|
||||
subroutine psb_cins_multivect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_cins_multivect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -169,7 +168,6 @@ Module psb_c_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
complex(psb_spk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_cins_multivect
|
||||
end interface
|
||||
@@ -240,36 +238,36 @@ Module psb_c_tools_mod
|
||||
|
||||
|
||||
interface psb_spall
|
||||
subroutine psb_cspalloc(a, desc_a, info, nnz, bldmode)
|
||||
subroutine psb_cspalloc(a, desc_a, info, nnz, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_cspmat_type), intent(inout) :: a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: nnz, bldmode
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_cspmat_type), intent(inout) :: a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: nnz, bldmode
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
end subroutine psb_cspalloc
|
||||
end interface
|
||||
|
||||
interface psb_spasb
|
||||
subroutine psb_cspasb(a,desc_a, info, afmt, upd, dupl,mold)
|
||||
subroutine psb_cspasb(a,desc_a, info, afmt, upd, mold)
|
||||
import
|
||||
implicit none
|
||||
type(psb_cspmat_type), intent (inout) :: a
|
||||
type(psb_desc_type), intent(inout) :: desc_a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_),optional, intent(in) :: dupl, upd
|
||||
integer(psb_ipk_),optional, intent(in) :: upd
|
||||
character(len=*), optional, intent(in) :: afmt
|
||||
class(psb_c_base_sparse_mat), intent(in), optional :: mold
|
||||
end subroutine psb_cspasb
|
||||
end interface
|
||||
|
||||
interface psb_remote_vect
|
||||
subroutine psb_c_remote_vect(v,desc_a, dupl, info)
|
||||
subroutine psb_c_remote_vect(v,desc_a, info)
|
||||
import
|
||||
implicit none
|
||||
type(psb_c_vect_type),Intent(inout) :: v
|
||||
type(psb_desc_type),intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(in) :: dupl
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psb_c_remote_vect
|
||||
end interface psb_remote_vect
|
||||
|
||||
@@ -40,41 +40,43 @@ Module psb_d_tools_mod
|
||||
use psi_mod, only : psb_snd, psb_rcv ! Needed only for psb_getelem
|
||||
|
||||
interface psb_geall
|
||||
subroutine psb_dalloc_vect(x, desc_a,info)
|
||||
subroutine psb_dalloc_vect(x, desc_a,info, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_d_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) :: dupl, bldmode
|
||||
end subroutine psb_dalloc_vect
|
||||
subroutine psb_dalloc_vect_r2(x, desc_a,info,n,lb)
|
||||
subroutine psb_dalloc_vect_r2(x, desc_a,info,n,lb, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_d_vect_type), allocatable, intent(out) :: x(:)
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_),intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: n, lb
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_dalloc_vect_r2
|
||||
subroutine psb_dalloc_multivect(x, desc_a,info,n)
|
||||
subroutine psb_dalloc_multivect(x, desc_a,info,n, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_d_multivect_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
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_dalloc_multivect
|
||||
end interface
|
||||
|
||||
|
||||
interface psb_geasb
|
||||
subroutine psb_dasb_vect(x, desc_a, info,mold, dupl,scratch)
|
||||
subroutine psb_dasb_vect(x, desc_a, info,mold, scratch)
|
||||
import
|
||||
implicit none
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_d_vect_type), intent(inout) :: x
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
class(psb_d_base_vect_type), intent(in), optional :: mold
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: scratch
|
||||
end subroutine psb_dasb_vect
|
||||
subroutine psb_dasb_vect_r2(x, desc_a, info,mold, scratch)
|
||||
@@ -124,7 +126,7 @@ Module psb_d_tools_mod
|
||||
|
||||
|
||||
interface psb_geins
|
||||
subroutine psb_dins_vect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_dins_vect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -133,10 +135,9 @@ Module psb_d_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
real(psb_dpk_), intent(in) :: val(:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_dins_vect
|
||||
subroutine psb_dins_vect_v(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_dins_vect_v(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -145,10 +146,9 @@ Module psb_d_tools_mod
|
||||
type(psb_l_vect_type), intent(inout) :: irw
|
||||
type(psb_d_vect_type), intent(inout) :: val
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_dins_vect_v
|
||||
subroutine psb_dins_vect_r2(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_dins_vect_r2(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -157,10 +157,9 @@ Module psb_d_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
real(psb_dpk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_dins_vect_r2
|
||||
subroutine psb_dins_multivect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_dins_multivect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -169,7 +168,6 @@ Module psb_d_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
real(psb_dpk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_dins_multivect
|
||||
end interface
|
||||
@@ -240,36 +238,36 @@ Module psb_d_tools_mod
|
||||
|
||||
|
||||
interface psb_spall
|
||||
subroutine psb_dspalloc(a, desc_a, info, nnz, bldmode)
|
||||
subroutine psb_dspalloc(a, desc_a, info, nnz, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_dspmat_type), intent(inout) :: a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: nnz, bldmode
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_dspmat_type), intent(inout) :: a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: nnz, bldmode
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
end subroutine psb_dspalloc
|
||||
end interface
|
||||
|
||||
interface psb_spasb
|
||||
subroutine psb_dspasb(a,desc_a, info, afmt, upd, dupl,mold)
|
||||
subroutine psb_dspasb(a,desc_a, info, afmt, upd, mold)
|
||||
import
|
||||
implicit none
|
||||
type(psb_dspmat_type), intent (inout) :: a
|
||||
type(psb_desc_type), intent(inout) :: desc_a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_),optional, intent(in) :: dupl, upd
|
||||
integer(psb_ipk_),optional, intent(in) :: upd
|
||||
character(len=*), optional, intent(in) :: afmt
|
||||
class(psb_d_base_sparse_mat), intent(in), optional :: mold
|
||||
end subroutine psb_dspasb
|
||||
end interface
|
||||
|
||||
interface psb_remote_vect
|
||||
subroutine psb_d_remote_vect(v,desc_a, dupl, info)
|
||||
subroutine psb_d_remote_vect(v,desc_a, info)
|
||||
import
|
||||
implicit none
|
||||
type(psb_d_vect_type),Intent(inout) :: v
|
||||
type(psb_desc_type),intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(in) :: dupl
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psb_d_remote_vect
|
||||
end interface psb_remote_vect
|
||||
|
||||
@@ -37,41 +37,43 @@ Module psb_i_tools_mod
|
||||
use psi_mod, only : psb_snd, psb_rcv ! Needed only for psb_getelem
|
||||
|
||||
interface psb_geall
|
||||
subroutine psb_ialloc_vect(x, desc_a,info)
|
||||
subroutine psb_ialloc_vect(x, desc_a,info, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
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) :: dupl, bldmode
|
||||
end subroutine psb_ialloc_vect
|
||||
subroutine psb_ialloc_vect_r2(x, desc_a,info,n,lb)
|
||||
subroutine psb_ialloc_vect_r2(x, desc_a,info,n,lb, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_i_vect_type), allocatable, intent(out) :: x(:)
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_),intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: n, lb
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_ialloc_vect_r2
|
||||
subroutine psb_ialloc_multivect(x, desc_a,info,n)
|
||||
subroutine psb_ialloc_multivect(x, desc_a,info,n, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_i_multivect_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
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_ialloc_multivect
|
||||
end interface
|
||||
|
||||
|
||||
interface psb_geasb
|
||||
subroutine psb_iasb_vect(x, desc_a, info,mold, dupl,scratch)
|
||||
subroutine psb_iasb_vect(x, desc_a, info,mold, scratch)
|
||||
import
|
||||
implicit none
|
||||
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
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: scratch
|
||||
end subroutine psb_iasb_vect
|
||||
subroutine psb_iasb_vect_r2(x, desc_a, info,mold, scratch)
|
||||
@@ -121,7 +123,7 @@ Module psb_i_tools_mod
|
||||
|
||||
|
||||
interface psb_geins
|
||||
subroutine psb_iins_vect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_iins_vect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -130,10 +132,9 @@ Module psb_i_tools_mod
|
||||
integer(psb_lpk_), 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
|
||||
subroutine psb_iins_vect_v(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_iins_vect_v(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -142,10 +143,9 @@ Module psb_i_tools_mod
|
||||
type(psb_l_vect_type), intent(inout) :: irw
|
||||
type(psb_i_vect_type), intent(inout) :: val
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_iins_vect_v
|
||||
subroutine psb_iins_vect_r2(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_iins_vect_r2(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -154,10 +154,9 @@ Module psb_i_tools_mod
|
||||
integer(psb_lpk_), 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_r2
|
||||
subroutine psb_iins_multivect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_iins_multivect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -166,7 +165,6 @@ Module psb_i_tools_mod
|
||||
integer(psb_lpk_), 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_multivect
|
||||
end interface
|
||||
|
||||
@@ -37,41 +37,43 @@ Module psb_l_tools_mod
|
||||
use psi_mod, only : psb_snd, psb_rcv ! Needed only for psb_getelem
|
||||
|
||||
interface psb_geall
|
||||
subroutine psb_lalloc_vect(x, desc_a,info)
|
||||
subroutine psb_lalloc_vect(x, desc_a,info, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_l_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) :: dupl, bldmode
|
||||
end subroutine psb_lalloc_vect
|
||||
subroutine psb_lalloc_vect_r2(x, desc_a,info,n,lb)
|
||||
subroutine psb_lalloc_vect_r2(x, desc_a,info,n,lb, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_l_vect_type), allocatable, intent(out) :: x(:)
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_),intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: n, lb
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_lalloc_vect_r2
|
||||
subroutine psb_lalloc_multivect(x, desc_a,info,n)
|
||||
subroutine psb_lalloc_multivect(x, desc_a,info,n, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_l_multivect_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
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_lalloc_multivect
|
||||
end interface
|
||||
|
||||
|
||||
interface psb_geasb
|
||||
subroutine psb_lasb_vect(x, desc_a, info,mold, dupl,scratch)
|
||||
subroutine psb_lasb_vect(x, desc_a, info,mold, scratch)
|
||||
import
|
||||
implicit none
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_l_vect_type), intent(inout) :: x
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
class(psb_l_base_vect_type), intent(in), optional :: mold
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: scratch
|
||||
end subroutine psb_lasb_vect
|
||||
subroutine psb_lasb_vect_r2(x, desc_a, info,mold, scratch)
|
||||
@@ -121,7 +123,7 @@ Module psb_l_tools_mod
|
||||
|
||||
|
||||
interface psb_geins
|
||||
subroutine psb_lins_vect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_lins_vect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -130,10 +132,9 @@ Module psb_l_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
integer(psb_lpk_), intent(in) :: val(:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_lins_vect
|
||||
subroutine psb_lins_vect_v(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_lins_vect_v(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -142,10 +143,9 @@ Module psb_l_tools_mod
|
||||
type(psb_l_vect_type), intent(inout) :: irw
|
||||
type(psb_l_vect_type), intent(inout) :: val
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_lins_vect_v
|
||||
subroutine psb_lins_vect_r2(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_lins_vect_r2(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -154,10 +154,9 @@ Module psb_l_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
integer(psb_lpk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_lins_vect_r2
|
||||
subroutine psb_lins_multivect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_lins_multivect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -166,7 +165,6 @@ Module psb_l_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
integer(psb_lpk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_lins_multivect
|
||||
end interface
|
||||
|
||||
@@ -40,41 +40,43 @@ Module psb_s_tools_mod
|
||||
use psi_mod, only : psb_snd, psb_rcv ! Needed only for psb_getelem
|
||||
|
||||
interface psb_geall
|
||||
subroutine psb_salloc_vect(x, desc_a,info)
|
||||
subroutine psb_salloc_vect(x, desc_a,info, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_s_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) :: dupl, bldmode
|
||||
end subroutine psb_salloc_vect
|
||||
subroutine psb_salloc_vect_r2(x, desc_a,info,n,lb)
|
||||
subroutine psb_salloc_vect_r2(x, desc_a,info,n,lb, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_s_vect_type), allocatable, intent(out) :: x(:)
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_),intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: n, lb
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_salloc_vect_r2
|
||||
subroutine psb_salloc_multivect(x, desc_a,info,n)
|
||||
subroutine psb_salloc_multivect(x, desc_a,info,n, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_s_multivect_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
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_salloc_multivect
|
||||
end interface
|
||||
|
||||
|
||||
interface psb_geasb
|
||||
subroutine psb_sasb_vect(x, desc_a, info,mold, dupl,scratch)
|
||||
subroutine psb_sasb_vect(x, desc_a, info,mold, scratch)
|
||||
import
|
||||
implicit none
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_s_vect_type), intent(inout) :: x
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
class(psb_s_base_vect_type), intent(in), optional :: mold
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: scratch
|
||||
end subroutine psb_sasb_vect
|
||||
subroutine psb_sasb_vect_r2(x, desc_a, info,mold, scratch)
|
||||
@@ -124,7 +126,7 @@ Module psb_s_tools_mod
|
||||
|
||||
|
||||
interface psb_geins
|
||||
subroutine psb_sins_vect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_sins_vect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -133,10 +135,9 @@ Module psb_s_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
real(psb_spk_), intent(in) :: val(:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_sins_vect
|
||||
subroutine psb_sins_vect_v(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_sins_vect_v(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -145,10 +146,9 @@ Module psb_s_tools_mod
|
||||
type(psb_l_vect_type), intent(inout) :: irw
|
||||
type(psb_s_vect_type), intent(inout) :: val
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_sins_vect_v
|
||||
subroutine psb_sins_vect_r2(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_sins_vect_r2(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -157,10 +157,9 @@ Module psb_s_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
real(psb_spk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_sins_vect_r2
|
||||
subroutine psb_sins_multivect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_sins_multivect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -169,7 +168,6 @@ Module psb_s_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
real(psb_spk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_sins_multivect
|
||||
end interface
|
||||
@@ -240,36 +238,36 @@ Module psb_s_tools_mod
|
||||
|
||||
|
||||
interface psb_spall
|
||||
subroutine psb_sspalloc(a, desc_a, info, nnz, bldmode)
|
||||
subroutine psb_sspalloc(a, desc_a, info, nnz, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_sspmat_type), intent(inout) :: a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: nnz, bldmode
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_sspmat_type), intent(inout) :: a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: nnz, bldmode
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
end subroutine psb_sspalloc
|
||||
end interface
|
||||
|
||||
interface psb_spasb
|
||||
subroutine psb_sspasb(a,desc_a, info, afmt, upd, dupl,mold)
|
||||
subroutine psb_sspasb(a,desc_a, info, afmt, upd, mold)
|
||||
import
|
||||
implicit none
|
||||
type(psb_sspmat_type), intent (inout) :: a
|
||||
type(psb_desc_type), intent(inout) :: desc_a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_),optional, intent(in) :: dupl, upd
|
||||
integer(psb_ipk_),optional, intent(in) :: upd
|
||||
character(len=*), optional, intent(in) :: afmt
|
||||
class(psb_s_base_sparse_mat), intent(in), optional :: mold
|
||||
end subroutine psb_sspasb
|
||||
end interface
|
||||
|
||||
interface psb_remote_vect
|
||||
subroutine psb_s_remote_vect(v,desc_a, dupl, info)
|
||||
subroutine psb_s_remote_vect(v,desc_a, info)
|
||||
import
|
||||
implicit none
|
||||
type(psb_s_vect_type),Intent(inout) :: v
|
||||
type(psb_desc_type),intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(in) :: dupl
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psb_s_remote_vect
|
||||
end interface psb_remote_vect
|
||||
|
||||
@@ -40,41 +40,43 @@ Module psb_z_tools_mod
|
||||
use psi_mod, only : psb_snd, psb_rcv ! Needed only for psb_getelem
|
||||
|
||||
interface psb_geall
|
||||
subroutine psb_zalloc_vect(x, desc_a,info)
|
||||
subroutine psb_zalloc_vect(x, desc_a,info, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_z_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) :: dupl, bldmode
|
||||
end subroutine psb_zalloc_vect
|
||||
subroutine psb_zalloc_vect_r2(x, desc_a,info,n,lb)
|
||||
subroutine psb_zalloc_vect_r2(x, desc_a,info,n,lb, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_z_vect_type), allocatable, intent(out) :: x(:)
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
integer(psb_ipk_),intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: n, lb
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_zalloc_vect_r2
|
||||
subroutine psb_zalloc_multivect(x, desc_a,info,n)
|
||||
subroutine psb_zalloc_multivect(x, desc_a,info,n, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_z_multivect_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
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl, bldmode
|
||||
end subroutine psb_zalloc_multivect
|
||||
end interface
|
||||
|
||||
|
||||
interface psb_geasb
|
||||
subroutine psb_zasb_vect(x, desc_a, info,mold, dupl,scratch)
|
||||
subroutine psb_zasb_vect(x, desc_a, info,mold, scratch)
|
||||
import
|
||||
implicit none
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_z_vect_type), intent(inout) :: x
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
class(psb_z_base_vect_type), intent(in), optional :: mold
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: scratch
|
||||
end subroutine psb_zasb_vect
|
||||
subroutine psb_zasb_vect_r2(x, desc_a, info,mold, scratch)
|
||||
@@ -124,7 +126,7 @@ Module psb_z_tools_mod
|
||||
|
||||
|
||||
interface psb_geins
|
||||
subroutine psb_zins_vect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_zins_vect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -133,10 +135,9 @@ Module psb_z_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
complex(psb_dpk_), intent(in) :: val(:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_zins_vect
|
||||
subroutine psb_zins_vect_v(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_zins_vect_v(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -145,10 +146,9 @@ Module psb_z_tools_mod
|
||||
type(psb_l_vect_type), intent(inout) :: irw
|
||||
type(psb_z_vect_type), intent(inout) :: val
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_zins_vect_v
|
||||
subroutine psb_zins_vect_r2(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_zins_vect_r2(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -157,10 +157,9 @@ Module psb_z_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
complex(psb_dpk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_zins_vect_r2
|
||||
subroutine psb_zins_multivect(m,irw,val,x,desc_a,info,dupl,local)
|
||||
subroutine psb_zins_multivect(m,irw,val,x,desc_a,info,local)
|
||||
import
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -169,7 +168,6 @@ Module psb_z_tools_mod
|
||||
integer(psb_lpk_), intent(in) :: irw(:)
|
||||
complex(psb_dpk_), intent(in) :: val(:,:)
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
logical, intent(in), optional :: local
|
||||
end subroutine psb_zins_multivect
|
||||
end interface
|
||||
@@ -240,36 +238,36 @@ Module psb_z_tools_mod
|
||||
|
||||
|
||||
interface psb_spall
|
||||
subroutine psb_zspalloc(a, desc_a, info, nnz, bldmode)
|
||||
subroutine psb_zspalloc(a, desc_a, info, nnz, dupl, bldmode)
|
||||
import
|
||||
implicit none
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_zspmat_type), intent(inout) :: a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: nnz, bldmode
|
||||
type(psb_desc_type), intent(in) :: desc_a
|
||||
type(psb_zspmat_type), intent(inout) :: a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_), optional, intent(in) :: nnz, bldmode
|
||||
integer(psb_ipk_), optional, intent(in) :: dupl
|
||||
end subroutine psb_zspalloc
|
||||
end interface
|
||||
|
||||
interface psb_spasb
|
||||
subroutine psb_zspasb(a,desc_a, info, afmt, upd, dupl,mold)
|
||||
subroutine psb_zspasb(a,desc_a, info, afmt, upd, mold)
|
||||
import
|
||||
implicit none
|
||||
type(psb_zspmat_type), intent (inout) :: a
|
||||
type(psb_desc_type), intent(inout) :: desc_a
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
integer(psb_ipk_),optional, intent(in) :: dupl, upd
|
||||
integer(psb_ipk_),optional, intent(in) :: upd
|
||||
character(len=*), optional, intent(in) :: afmt
|
||||
class(psb_z_base_sparse_mat), intent(in), optional :: mold
|
||||
end subroutine psb_zspasb
|
||||
end interface
|
||||
|
||||
interface psb_remote_vect
|
||||
subroutine psb_z_remote_vect(v,desc_a, dupl, info)
|
||||
subroutine psb_z_remote_vect(v,desc_a, info)
|
||||
import
|
||||
implicit none
|
||||
type(psb_z_vect_type),Intent(inout) :: v
|
||||
type(psb_desc_type),intent(in) :: desc_a
|
||||
integer(psb_ipk_), intent(in) :: dupl
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine psb_z_remote_vect
|
||||
end interface psb_remote_vect
|
||||
|
||||
Reference in New Issue
Block a user