|
|
|
@ -205,6 +205,7 @@ module psb_c_mat_mod
|
|
|
|
procedure, pass(a) :: cscnv_base => psb_c_cscnv_base
|
|
|
|
procedure, pass(a) :: cscnv_base => psb_c_cscnv_base
|
|
|
|
generic, public :: cscnv => cscnv_np, cscnv_ip, cscnv_base
|
|
|
|
generic, public :: cscnv => cscnv_np, cscnv_ip, cscnv_base
|
|
|
|
procedure, pass(a) :: split_nd => psb_c_split_nd
|
|
|
|
procedure, pass(a) :: split_nd => psb_c_split_nd
|
|
|
|
|
|
|
|
procedure, pass(a) :: merge_nd => psb_c_merge_nd
|
|
|
|
procedure, pass(a) :: clone => psb_cspmat_clone
|
|
|
|
procedure, pass(a) :: clone => psb_cspmat_clone
|
|
|
|
procedure, pass(a) :: move_alloc => psb_cspmat_type_move
|
|
|
|
procedure, pass(a) :: move_alloc => psb_cspmat_type_move
|
|
|
|
!
|
|
|
|
!
|
|
|
|
@ -849,11 +850,17 @@ module psb_c_mat_mod
|
|
|
|
class(psb_cspmat_type), intent(inout) :: a
|
|
|
|
class(psb_cspmat_type), intent(inout) :: a
|
|
|
|
integer(psb_ipk_), intent(in) :: n_rows, n_cols
|
|
|
|
integer(psb_ipk_), intent(in) :: n_rows, n_cols
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
!!$ integer(psb_ipk_),optional, intent(in) :: dupl
|
|
|
|
|
|
|
|
!!$ character(len=*), optional, intent(in) :: type
|
|
|
|
|
|
|
|
!!$ class(psb_c_base_sparse_mat), intent(in), optional :: mold
|
|
|
|
|
|
|
|
end subroutine psb_c_split_nd
|
|
|
|
end subroutine psb_c_split_nd
|
|
|
|
end interface
|
|
|
|
end interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
subroutine psb_c_merge_nd(a,n_rows,n_cols,info)
|
|
|
|
|
|
|
|
import :: psb_ipk_, psb_lpk_, psb_cspmat_type, psb_spk_, psb_c_base_sparse_mat
|
|
|
|
|
|
|
|
class(psb_cspmat_type), intent(inout) :: a
|
|
|
|
|
|
|
|
integer(psb_ipk_), intent(in) :: n_rows, n_cols
|
|
|
|
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
|
|
|
|
end subroutine psb_c_merge_nd
|
|
|
|
|
|
|
|
end interface
|
|
|
|
|
|
|
|
|
|
|
|
!
|
|
|
|
!
|
|
|
|
! CSCNV: switches to a different internal derived type.
|
|
|
|
! CSCNV: switches to a different internal derived type.
|
|
|
|
|