mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 12:52:14 +00:00
Fixes for sundial interfacing to VECT and LINSOLVE (rgmres)
This commit is contained in:
@@ -1483,10 +1483,10 @@ contains
|
||||
integer(psb_ipk_) :: i, n
|
||||
|
||||
info = 0
|
||||
if (z%is_dev()) call z%sync()
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call z%div(x%v,y%v,info)
|
||||
|
||||
|
||||
call x%set_host()
|
||||
end subroutine c_base_div_v2
|
||||
!
|
||||
!> Function base_div_v_check
|
||||
@@ -1506,6 +1506,7 @@ contains
|
||||
|
||||
info = 0
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call x%div(x%v,y%v,info,flag)
|
||||
|
||||
end subroutine c_base_div_v_check
|
||||
|
||||
@@ -1490,10 +1490,10 @@ contains
|
||||
integer(psb_ipk_) :: i, n
|
||||
|
||||
info = 0
|
||||
if (z%is_dev()) call z%sync()
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call z%div(x%v,y%v,info)
|
||||
|
||||
|
||||
call x%set_host()
|
||||
end subroutine d_base_div_v2
|
||||
!
|
||||
!> Function base_div_v_check
|
||||
@@ -1513,6 +1513,7 @@ contains
|
||||
|
||||
info = 0
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call x%div(x%v,y%v,info,flag)
|
||||
|
||||
end subroutine d_base_div_v_check
|
||||
|
||||
@@ -418,8 +418,6 @@ contains
|
||||
class(psb_d_vect_type), intent(in) :: x
|
||||
integer(psb_ipk_) :: res
|
||||
res = 0
|
||||
write(0,*) allocated(x%v)
|
||||
if (allocated(x%v)) write(0,*) allocated(x%v%v)
|
||||
if (allocated(x%v)) res = x%v%get_nrows()
|
||||
end function d_vect_get_nrows
|
||||
|
||||
|
||||
@@ -1490,10 +1490,10 @@ contains
|
||||
integer(psb_ipk_) :: i, n
|
||||
|
||||
info = 0
|
||||
if (z%is_dev()) call z%sync()
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call z%div(x%v,y%v,info)
|
||||
|
||||
|
||||
call x%set_host()
|
||||
end subroutine s_base_div_v2
|
||||
!
|
||||
!> Function base_div_v_check
|
||||
@@ -1513,6 +1513,7 @@ contains
|
||||
|
||||
info = 0
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call x%div(x%v,y%v,info,flag)
|
||||
|
||||
end subroutine s_base_div_v_check
|
||||
|
||||
@@ -1483,10 +1483,10 @@ contains
|
||||
integer(psb_ipk_) :: i, n
|
||||
|
||||
info = 0
|
||||
if (z%is_dev()) call z%sync()
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call z%div(x%v,y%v,info)
|
||||
|
||||
|
||||
call x%set_host()
|
||||
end subroutine z_base_div_v2
|
||||
!
|
||||
!> Function base_div_v_check
|
||||
@@ -1506,6 +1506,7 @@ contains
|
||||
|
||||
info = 0
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call x%div(x%v,y%v,info,flag)
|
||||
|
||||
end subroutine z_base_div_v_check
|
||||
|
||||
Reference in New Issue
Block a user