You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
3.3 KiB
Fortran
103 lines
3.3 KiB
Fortran
module psi_i_serial_mod
|
|
use psb_const_mod, only : psb_ipk_
|
|
|
|
interface psb_gelp
|
|
! 2-D version
|
|
subroutine psb_igelp(trans,iperm,x,info)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_), intent(inout) :: x(:,:)
|
|
integer(psb_ipk_), intent(in) :: iperm(:)
|
|
integer(psb_ipk_), intent(out) :: info
|
|
character, intent(in) :: trans
|
|
end subroutine psb_igelp
|
|
subroutine psb_igelpv(trans,iperm,x,info)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_), intent(inout) :: x(:)
|
|
integer(psb_ipk_), intent(in) :: iperm(:)
|
|
integer(psb_ipk_), intent(out) :: info
|
|
character, intent(in) :: trans
|
|
end subroutine psb_igelpv
|
|
end interface psb_gelp
|
|
|
|
interface psb_geaxpby
|
|
subroutine psi_iaxpby(m,n,alpha, x, beta, y, info)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_), intent(in) :: m, n
|
|
integer(psb_ipk_), intent (in) :: x(:,:)
|
|
integer(psb_ipk_), intent (inout) :: y(:,:)
|
|
integer(psb_ipk_), intent (in) :: alpha, beta
|
|
integer(psb_ipk_), intent(out) :: info
|
|
end subroutine psi_iaxpby
|
|
subroutine psi_iaxpbyv(m,alpha, x, beta, y, info)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_), intent(in) :: m
|
|
integer(psb_ipk_), intent (in) :: x(:)
|
|
integer(psb_ipk_), intent (inout) :: y(:)
|
|
integer(psb_ipk_), intent (in) :: alpha, beta
|
|
integer(psb_ipk_), intent(out) :: info
|
|
end subroutine psi_iaxpbyv
|
|
end interface psb_geaxpby
|
|
|
|
interface psi_gth
|
|
subroutine psi_igthmv(n,k,idx,alpha,x,beta,y)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_) :: n, k, idx(:)
|
|
integer(psb_ipk_) :: x(:,:), y(:),alpha,beta
|
|
end subroutine psi_igthmv
|
|
subroutine psi_igthv(n,idx,alpha,x,beta,y)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_) :: n, idx(:)
|
|
integer(psb_ipk_) :: x(:), y(:),alpha,beta
|
|
end subroutine psi_igthv
|
|
subroutine psi_igthzmv(n,k,idx,x,y)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_) :: n, k, idx(:)
|
|
integer(psb_ipk_) :: x(:,:), y(:)
|
|
|
|
end subroutine psi_igthzmv
|
|
subroutine psi_igthzmm(n,k,idx,x,y)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_) :: n, k, idx(:)
|
|
integer(psb_ipk_) :: x(:,:), y(:,:)
|
|
|
|
end subroutine psi_igthzmm
|
|
subroutine psi_igthzv(n,idx,x,y)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_) :: n, idx(:)
|
|
integer(psb_ipk_) :: x(:), y(:)
|
|
end subroutine psi_igthzv
|
|
end interface psi_gth
|
|
|
|
interface psi_sct
|
|
subroutine psi_isctmm(n,k,idx,x,beta,y)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_) :: n, k, idx(:)
|
|
integer(psb_ipk_) :: beta, x(:,:), y(:,:)
|
|
end subroutine psi_isctmm
|
|
subroutine psi_isctmv(n,k,idx,x,beta,y)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
integer(psb_ipk_) :: n, k, idx(:)
|
|
integer(psb_ipk_) :: beta, x(:), y(:,:)
|
|
end subroutine psi_isctmv
|
|
subroutine psi_isctv(n,idx,x,beta,y)
|
|
import :: psb_ipk_
|
|
implicit none
|
|
|
|
integer(psb_ipk_) :: n, idx(:)
|
|
integer(psb_ipk_) :: beta, x(:), y(:)
|
|
end subroutine psi_isctv
|
|
end interface psi_sct
|
|
|
|
end module psi_i_serial_mod
|