mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 21:02:26 +00:00
Change name abgdxyz into upd_xyz
This commit is contained in:
@@ -155,7 +155,7 @@ module psb_c_base_vect_mod
|
||||
procedure, pass(z) :: axpby_v2 => c_base_axpby_v2
|
||||
procedure, pass(z) :: axpby_a2 => c_base_axpby_a2
|
||||
generic, public :: axpby => axpby_v, axpby_a, axpby_v2, axpby_a2
|
||||
procedure, pass(z) :: abgdxyz => c_base_abgdxyz
|
||||
procedure, pass(z) :: upd_xyz => c_base_upd_xyz
|
||||
procedure, pass(w) :: xyzw => c_base_xyzw
|
||||
|
||||
!
|
||||
@@ -1130,12 +1130,12 @@ contains
|
||||
end subroutine c_base_axpby_a2
|
||||
|
||||
!
|
||||
! ABGDXYZ is invoked via Z, hence the structure below.
|
||||
! UPD_XYZ is invoked via Z, hence the structure below.
|
||||
!
|
||||
!
|
||||
!> Function base_abgdxyz
|
||||
!> Function base_upd_xyz
|
||||
!! \memberof psb_c_base_vect_type
|
||||
!! \brief ABGDXYZ combines two AXPBYS y=alpha*x+beta*y, z=gamma*y+delta*zeta
|
||||
!! \brief UPD_XYZ combines two AXPBYS y=alpha*x+beta*y, z=gamma*y+delta*zeta
|
||||
!! \param m Number of entries to be considered
|
||||
!! \param alpha scalar alpha
|
||||
!! \param beta scalar beta
|
||||
@@ -1146,7 +1146,7 @@ contains
|
||||
!! \param z The class(base_vect) to be added
|
||||
!! \param info return code
|
||||
!!
|
||||
subroutine c_base_abgdxyz(m,alpha, beta, gamma,delta,x, y, z, info)
|
||||
subroutine c_base_upd_xyz(m,alpha, beta, gamma,delta,x, y, z, info)
|
||||
use psi_serial_mod
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -1159,11 +1159,11 @@ contains
|
||||
if (x%is_dev().and.(alpha/=czero)) call x%sync()
|
||||
if (y%is_dev().and.(beta/=czero)) call y%sync()
|
||||
if (z%is_dev().and.(delta/=czero)) call z%sync()
|
||||
call psi_abgdxyz(m,alpha, beta, gamma,delta,x%v, y%v, z%v, info)
|
||||
call psi_upd_xyz(m,alpha, beta, gamma,delta,x%v, y%v, z%v, info)
|
||||
call y%set_host()
|
||||
call z%set_host()
|
||||
|
||||
end subroutine c_base_abgdxyz
|
||||
end subroutine c_base_upd_xyz
|
||||
|
||||
subroutine c_base_xyzw(m,a,b,c,d,e,f,x, y, z, w,info)
|
||||
use psi_serial_mod
|
||||
|
||||
@@ -102,7 +102,7 @@ module psb_c_vect_mod
|
||||
procedure, pass(z) :: axpby_v2 => c_vect_axpby_v2
|
||||
procedure, pass(z) :: axpby_a2 => c_vect_axpby_a2
|
||||
generic, public :: axpby => axpby_v, axpby_a, axpby_v2, axpby_a2
|
||||
procedure, pass(z) :: abgdxyz => c_vect_abgdxyz
|
||||
procedure, pass(z) :: upd_xyz => c_vect_upd_xyz
|
||||
procedure, pass(z) :: xyzw => c_vect_xyzw
|
||||
|
||||
procedure, pass(y) :: mlt_v => c_vect_mlt_v
|
||||
@@ -774,7 +774,7 @@ contains
|
||||
|
||||
end subroutine c_vect_axpby_a2
|
||||
|
||||
subroutine c_vect_abgdxyz(m,alpha,beta,gamma,delta,x, y, z, info)
|
||||
subroutine c_vect_upd_xyz(m,alpha,beta,gamma,delta,x, y, z, info)
|
||||
use psi_serial_mod
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -785,9 +785,9 @@ contains
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
|
||||
if (allocated(z%v)) &
|
||||
call z%v%abgdxyz(m,alpha,beta,gamma,delta,x%v,y%v,info)
|
||||
call z%v%upd_xyz(m,alpha,beta,gamma,delta,x%v,y%v,info)
|
||||
|
||||
end subroutine c_vect_abgdxyz
|
||||
end subroutine c_vect_upd_xyz
|
||||
|
||||
subroutine c_vect_xyzw(m,a,b,c,d,e,f,x, y, z, w, info)
|
||||
use psi_serial_mod
|
||||
|
||||
@@ -155,7 +155,7 @@ module psb_d_base_vect_mod
|
||||
procedure, pass(z) :: axpby_v2 => d_base_axpby_v2
|
||||
procedure, pass(z) :: axpby_a2 => d_base_axpby_a2
|
||||
generic, public :: axpby => axpby_v, axpby_a, axpby_v2, axpby_a2
|
||||
procedure, pass(z) :: abgdxyz => d_base_abgdxyz
|
||||
procedure, pass(z) :: upd_xyz => d_base_upd_xyz
|
||||
procedure, pass(w) :: xyzw => d_base_xyzw
|
||||
|
||||
!
|
||||
@@ -1137,12 +1137,12 @@ contains
|
||||
end subroutine d_base_axpby_a2
|
||||
|
||||
!
|
||||
! ABGDXYZ is invoked via Z, hence the structure below.
|
||||
! UPD_XYZ is invoked via Z, hence the structure below.
|
||||
!
|
||||
!
|
||||
!> Function base_abgdxyz
|
||||
!> Function base_upd_xyz
|
||||
!! \memberof psb_d_base_vect_type
|
||||
!! \brief ABGDXYZ combines two AXPBYS y=alpha*x+beta*y, z=gamma*y+delta*zeta
|
||||
!! \brief UPD_XYZ combines two AXPBYS y=alpha*x+beta*y, z=gamma*y+delta*zeta
|
||||
!! \param m Number of entries to be considered
|
||||
!! \param alpha scalar alpha
|
||||
!! \param beta scalar beta
|
||||
@@ -1153,7 +1153,7 @@ contains
|
||||
!! \param z The class(base_vect) to be added
|
||||
!! \param info return code
|
||||
!!
|
||||
subroutine d_base_abgdxyz(m,alpha, beta, gamma,delta,x, y, z, info)
|
||||
subroutine d_base_upd_xyz(m,alpha, beta, gamma,delta,x, y, z, info)
|
||||
use psi_serial_mod
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -1166,11 +1166,11 @@ contains
|
||||
if (x%is_dev().and.(alpha/=dzero)) call x%sync()
|
||||
if (y%is_dev().and.(beta/=dzero)) call y%sync()
|
||||
if (z%is_dev().and.(delta/=dzero)) call z%sync()
|
||||
call psi_abgdxyz(m,alpha, beta, gamma,delta,x%v, y%v, z%v, info)
|
||||
call psi_upd_xyz(m,alpha, beta, gamma,delta,x%v, y%v, z%v, info)
|
||||
call y%set_host()
|
||||
call z%set_host()
|
||||
|
||||
end subroutine d_base_abgdxyz
|
||||
end subroutine d_base_upd_xyz
|
||||
|
||||
subroutine d_base_xyzw(m,a,b,c,d,e,f,x, y, z, w,info)
|
||||
use psi_serial_mod
|
||||
|
||||
@@ -102,7 +102,7 @@ module psb_d_vect_mod
|
||||
procedure, pass(z) :: axpby_v2 => d_vect_axpby_v2
|
||||
procedure, pass(z) :: axpby_a2 => d_vect_axpby_a2
|
||||
generic, public :: axpby => axpby_v, axpby_a, axpby_v2, axpby_a2
|
||||
procedure, pass(z) :: abgdxyz => d_vect_abgdxyz
|
||||
procedure, pass(z) :: upd_xyz => d_vect_upd_xyz
|
||||
procedure, pass(z) :: xyzw => d_vect_xyzw
|
||||
|
||||
procedure, pass(y) :: mlt_v => d_vect_mlt_v
|
||||
@@ -781,7 +781,7 @@ contains
|
||||
|
||||
end subroutine d_vect_axpby_a2
|
||||
|
||||
subroutine d_vect_abgdxyz(m,alpha,beta,gamma,delta,x, y, z, info)
|
||||
subroutine d_vect_upd_xyz(m,alpha,beta,gamma,delta,x, y, z, info)
|
||||
use psi_serial_mod
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -792,9 +792,9 @@ contains
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
|
||||
if (allocated(z%v)) &
|
||||
call z%v%abgdxyz(m,alpha,beta,gamma,delta,x%v,y%v,info)
|
||||
call z%v%upd_xyz(m,alpha,beta,gamma,delta,x%v,y%v,info)
|
||||
|
||||
end subroutine d_vect_abgdxyz
|
||||
end subroutine d_vect_upd_xyz
|
||||
|
||||
subroutine d_vect_xyzw(m,a,b,c,d,e,f,x, y, z, w, info)
|
||||
use psi_serial_mod
|
||||
|
||||
@@ -155,7 +155,7 @@ module psb_s_base_vect_mod
|
||||
procedure, pass(z) :: axpby_v2 => s_base_axpby_v2
|
||||
procedure, pass(z) :: axpby_a2 => s_base_axpby_a2
|
||||
generic, public :: axpby => axpby_v, axpby_a, axpby_v2, axpby_a2
|
||||
procedure, pass(z) :: abgdxyz => s_base_abgdxyz
|
||||
procedure, pass(z) :: upd_xyz => s_base_upd_xyz
|
||||
procedure, pass(w) :: xyzw => s_base_xyzw
|
||||
|
||||
!
|
||||
@@ -1137,12 +1137,12 @@ contains
|
||||
end subroutine s_base_axpby_a2
|
||||
|
||||
!
|
||||
! ABGDXYZ is invoked via Z, hence the structure below.
|
||||
! UPD_XYZ is invoked via Z, hence the structure below.
|
||||
!
|
||||
!
|
||||
!> Function base_abgdxyz
|
||||
!> Function base_upd_xyz
|
||||
!! \memberof psb_s_base_vect_type
|
||||
!! \brief ABGDXYZ combines two AXPBYS y=alpha*x+beta*y, z=gamma*y+delta*zeta
|
||||
!! \brief UPD_XYZ combines two AXPBYS y=alpha*x+beta*y, z=gamma*y+delta*zeta
|
||||
!! \param m Number of entries to be considered
|
||||
!! \param alpha scalar alpha
|
||||
!! \param beta scalar beta
|
||||
@@ -1153,7 +1153,7 @@ contains
|
||||
!! \param z The class(base_vect) to be added
|
||||
!! \param info return code
|
||||
!!
|
||||
subroutine s_base_abgdxyz(m,alpha, beta, gamma,delta,x, y, z, info)
|
||||
subroutine s_base_upd_xyz(m,alpha, beta, gamma,delta,x, y, z, info)
|
||||
use psi_serial_mod
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -1166,11 +1166,11 @@ contains
|
||||
if (x%is_dev().and.(alpha/=szero)) call x%sync()
|
||||
if (y%is_dev().and.(beta/=szero)) call y%sync()
|
||||
if (z%is_dev().and.(delta/=szero)) call z%sync()
|
||||
call psi_abgdxyz(m,alpha, beta, gamma,delta,x%v, y%v, z%v, info)
|
||||
call psi_upd_xyz(m,alpha, beta, gamma,delta,x%v, y%v, z%v, info)
|
||||
call y%set_host()
|
||||
call z%set_host()
|
||||
|
||||
end subroutine s_base_abgdxyz
|
||||
end subroutine s_base_upd_xyz
|
||||
|
||||
subroutine s_base_xyzw(m,a,b,c,d,e,f,x, y, z, w,info)
|
||||
use psi_serial_mod
|
||||
|
||||
@@ -102,7 +102,7 @@ module psb_s_vect_mod
|
||||
procedure, pass(z) :: axpby_v2 => s_vect_axpby_v2
|
||||
procedure, pass(z) :: axpby_a2 => s_vect_axpby_a2
|
||||
generic, public :: axpby => axpby_v, axpby_a, axpby_v2, axpby_a2
|
||||
procedure, pass(z) :: abgdxyz => s_vect_abgdxyz
|
||||
procedure, pass(z) :: upd_xyz => s_vect_upd_xyz
|
||||
procedure, pass(z) :: xyzw => s_vect_xyzw
|
||||
|
||||
procedure, pass(y) :: mlt_v => s_vect_mlt_v
|
||||
@@ -781,7 +781,7 @@ contains
|
||||
|
||||
end subroutine s_vect_axpby_a2
|
||||
|
||||
subroutine s_vect_abgdxyz(m,alpha,beta,gamma,delta,x, y, z, info)
|
||||
subroutine s_vect_upd_xyz(m,alpha,beta,gamma,delta,x, y, z, info)
|
||||
use psi_serial_mod
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -792,9 +792,9 @@ contains
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
|
||||
if (allocated(z%v)) &
|
||||
call z%v%abgdxyz(m,alpha,beta,gamma,delta,x%v,y%v,info)
|
||||
call z%v%upd_xyz(m,alpha,beta,gamma,delta,x%v,y%v,info)
|
||||
|
||||
end subroutine s_vect_abgdxyz
|
||||
end subroutine s_vect_upd_xyz
|
||||
|
||||
subroutine s_vect_xyzw(m,a,b,c,d,e,f,x, y, z, w, info)
|
||||
use psi_serial_mod
|
||||
|
||||
@@ -155,7 +155,7 @@ module psb_z_base_vect_mod
|
||||
procedure, pass(z) :: axpby_v2 => z_base_axpby_v2
|
||||
procedure, pass(z) :: axpby_a2 => z_base_axpby_a2
|
||||
generic, public :: axpby => axpby_v, axpby_a, axpby_v2, axpby_a2
|
||||
procedure, pass(z) :: abgdxyz => z_base_abgdxyz
|
||||
procedure, pass(z) :: upd_xyz => z_base_upd_xyz
|
||||
procedure, pass(w) :: xyzw => z_base_xyzw
|
||||
|
||||
!
|
||||
@@ -1130,12 +1130,12 @@ contains
|
||||
end subroutine z_base_axpby_a2
|
||||
|
||||
!
|
||||
! ABGDXYZ is invoked via Z, hence the structure below.
|
||||
! UPD_XYZ is invoked via Z, hence the structure below.
|
||||
!
|
||||
!
|
||||
!> Function base_abgdxyz
|
||||
!> Function base_upd_xyz
|
||||
!! \memberof psb_z_base_vect_type
|
||||
!! \brief ABGDXYZ combines two AXPBYS y=alpha*x+beta*y, z=gamma*y+delta*zeta
|
||||
!! \brief UPD_XYZ combines two AXPBYS y=alpha*x+beta*y, z=gamma*y+delta*zeta
|
||||
!! \param m Number of entries to be considered
|
||||
!! \param alpha scalar alpha
|
||||
!! \param beta scalar beta
|
||||
@@ -1146,7 +1146,7 @@ contains
|
||||
!! \param z The class(base_vect) to be added
|
||||
!! \param info return code
|
||||
!!
|
||||
subroutine z_base_abgdxyz(m,alpha, beta, gamma,delta,x, y, z, info)
|
||||
subroutine z_base_upd_xyz(m,alpha, beta, gamma,delta,x, y, z, info)
|
||||
use psi_serial_mod
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -1159,11 +1159,11 @@ contains
|
||||
if (x%is_dev().and.(alpha/=zzero)) call x%sync()
|
||||
if (y%is_dev().and.(beta/=zzero)) call y%sync()
|
||||
if (z%is_dev().and.(delta/=zzero)) call z%sync()
|
||||
call psi_abgdxyz(m,alpha, beta, gamma,delta,x%v, y%v, z%v, info)
|
||||
call psi_upd_xyz(m,alpha, beta, gamma,delta,x%v, y%v, z%v, info)
|
||||
call y%set_host()
|
||||
call z%set_host()
|
||||
|
||||
end subroutine z_base_abgdxyz
|
||||
end subroutine z_base_upd_xyz
|
||||
|
||||
subroutine z_base_xyzw(m,a,b,c,d,e,f,x, y, z, w,info)
|
||||
use psi_serial_mod
|
||||
|
||||
@@ -102,7 +102,7 @@ module psb_z_vect_mod
|
||||
procedure, pass(z) :: axpby_v2 => z_vect_axpby_v2
|
||||
procedure, pass(z) :: axpby_a2 => z_vect_axpby_a2
|
||||
generic, public :: axpby => axpby_v, axpby_a, axpby_v2, axpby_a2
|
||||
procedure, pass(z) :: abgdxyz => z_vect_abgdxyz
|
||||
procedure, pass(z) :: upd_xyz => z_vect_upd_xyz
|
||||
procedure, pass(z) :: xyzw => z_vect_xyzw
|
||||
|
||||
procedure, pass(y) :: mlt_v => z_vect_mlt_v
|
||||
@@ -774,7 +774,7 @@ contains
|
||||
|
||||
end subroutine z_vect_axpby_a2
|
||||
|
||||
subroutine z_vect_abgdxyz(m,alpha,beta,gamma,delta,x, y, z, info)
|
||||
subroutine z_vect_upd_xyz(m,alpha,beta,gamma,delta,x, y, z, info)
|
||||
use psi_serial_mod
|
||||
implicit none
|
||||
integer(psb_ipk_), intent(in) :: m
|
||||
@@ -785,9 +785,9 @@ contains
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
|
||||
if (allocated(z%v)) &
|
||||
call z%v%abgdxyz(m,alpha,beta,gamma,delta,x%v,y%v,info)
|
||||
call z%v%upd_xyz(m,alpha,beta,gamma,delta,x%v,y%v,info)
|
||||
|
||||
end subroutine z_vect_abgdxyz
|
||||
end subroutine z_vect_upd_xyz
|
||||
|
||||
subroutine z_vect_xyzw(m,a,b,c,d,e,f,x, y, z, w, info)
|
||||
use psi_serial_mod
|
||||
|
||||
Reference in New Issue
Block a user