|
|
@ -42,7 +42,7 @@ module psb_c_base_mat_mod
|
|
|
|
!! The psb_c_base_sparse_mat type, extending psb_base_sparse_mat,
|
|
|
|
!! The psb_c_base_sparse_mat type, extending psb_base_sparse_mat,
|
|
|
|
!! defines a middle level complex(psb_spk_) sparse matrix object.
|
|
|
|
!! defines a middle level complex(psb_spk_) sparse matrix object.
|
|
|
|
!! This class object itself does not have any additional members
|
|
|
|
!! This class object itself does not have any additional members
|
|
|
|
!! with respect to those of the base class. No methods can be fully
|
|
|
|
!! with respect to those of the base class. Most methods cannot be fully
|
|
|
|
!! implemented at this level, but we can define the interface for the
|
|
|
|
!! implemented at this level, but we can define the interface for the
|
|
|
|
!! computational methods requiring the knowledge of the underlying
|
|
|
|
!! computational methods requiring the knowledge of the underlying
|
|
|
|
!! field, such as the matrix-vector product; this interface is defined,
|
|
|
|
!! field, such as the matrix-vector product; this interface is defined,
|
|
|
@ -78,6 +78,7 @@ module psb_c_base_mat_mod
|
|
|
|
procedure, pass(a) :: mold => psb_c_base_mold
|
|
|
|
procedure, pass(a) :: mold => psb_c_base_mold
|
|
|
|
procedure, pass(a) :: clone => psb_c_base_clone
|
|
|
|
procedure, pass(a) :: clone => psb_c_base_clone
|
|
|
|
procedure, pass(a) :: make_nonunit => psb_c_base_make_nonunit
|
|
|
|
procedure, pass(a) :: make_nonunit => psb_c_base_make_nonunit
|
|
|
|
|
|
|
|
procedure, pass(a) :: clean_zeros => psb_c_base_clean_zeros
|
|
|
|
|
|
|
|
|
|
|
|
!
|
|
|
|
!
|
|
|
|
! Transpose methods: defined here but not implemented.
|
|
|
|
! Transpose methods: defined here but not implemented.
|
|
|
@ -165,6 +166,7 @@ module psb_c_base_mat_mod
|
|
|
|
procedure, pass(a) :: get_nz_row => psb_c_coo_get_nz_row
|
|
|
|
procedure, pass(a) :: get_nz_row => psb_c_coo_get_nz_row
|
|
|
|
procedure, pass(a) :: fix => psb_c_fix_coo
|
|
|
|
procedure, pass(a) :: fix => psb_c_fix_coo
|
|
|
|
procedure, pass(a) :: trim => psb_c_coo_trim
|
|
|
|
procedure, pass(a) :: trim => psb_c_coo_trim
|
|
|
|
|
|
|
|
procedure, pass(a) :: clean_zeros => psb_c_coo_clean_zeros
|
|
|
|
procedure, pass(a) :: print => psb_c_coo_print
|
|
|
|
procedure, pass(a) :: print => psb_c_coo_print
|
|
|
|
procedure, pass(a) :: free => c_coo_free
|
|
|
|
procedure, pass(a) :: free => c_coo_free
|
|
|
|
procedure, pass(a) :: mold => psb_c_coo_mold
|
|
|
|
procedure, pass(a) :: mold => psb_c_coo_mold
|
|
|
@ -701,6 +703,18 @@ module psb_c_base_mat_mod
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
end subroutine psb_c_base_mv_from_fmt
|
|
|
|
end subroutine psb_c_base_mv_from_fmt
|
|
|
|
end interface
|
|
|
|
end interface
|
|
|
|
|
|
|
|
!
|
|
|
|
|
|
|
|
!>
|
|
|
|
|
|
|
|
!! \memberof psb_c_base_sparse_mat
|
|
|
|
|
|
|
|
!! \see psb_c_base_mat_mod::psb_c_base_clean_zeros
|
|
|
|
|
|
|
|
!
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
subroutine psb_c_base_clean_zeros(a, info)
|
|
|
|
|
|
|
|
import :: psb_ipk_, psb_c_base_sparse_mat
|
|
|
|
|
|
|
|
class(psb_c_base_sparse_mat), intent(inout) :: a
|
|
|
|
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
|
|
|
|
end subroutine psb_c_base_clean_zeros
|
|
|
|
|
|
|
|
end interface
|
|
|
|
|
|
|
|
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!> Function transp:
|
|
|
|
!> Function transp:
|
|
|
@ -1239,6 +1253,18 @@ module psb_c_base_mat_mod
|
|
|
|
class(psb_c_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_c_coo_sparse_mat), intent(inout) :: a
|
|
|
|
end subroutine psb_c_coo_trim
|
|
|
|
end subroutine psb_c_coo_trim
|
|
|
|
end interface
|
|
|
|
end interface
|
|
|
|
|
|
|
|
!
|
|
|
|
|
|
|
|
!>
|
|
|
|
|
|
|
|
!! \memberof psb_c_coo_sparse_mat
|
|
|
|
|
|
|
|
!! \see psb_c_base_mat_mod::psb_c_base_clean_zeros
|
|
|
|
|
|
|
|
!
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
subroutine psb_c_coo_clean_zeros(a,info)
|
|
|
|
|
|
|
|
import :: psb_ipk_, psb_c_coo_sparse_mat
|
|
|
|
|
|
|
|
class(psb_c_coo_sparse_mat), intent(inout) :: a
|
|
|
|
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
|
|
|
|
end subroutine psb_c_coo_clean_zeros
|
|
|
|
|
|
|
|
end interface
|
|
|
|
|
|
|
|
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!>
|
|
|
|
!>
|
|
|
|