created sp3mm module and implementation files as well as an interface, still needs C files and C binds
parent
c093a6e11d
commit
1a4ae1e973
@ -0,0 +1,44 @@
|
||||
module sp3mm_mod
|
||||
use iso_c_binding
|
||||
use psb_const_mod
|
||||
use psb_error_mod
|
||||
|
||||
interface spmm_row_by_row
|
||||
subroutine dspmm_row_by_row_ub(a,b,c,info)
|
||||
use psb_d_mat_mod, only : psb_dspmat_type
|
||||
import :: psb_ipk_
|
||||
implicit none
|
||||
type(psb_dspmat_type), intent(in) :: a,b
|
||||
type(psb_dspmat_type), intent(out) :: c
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine dspmm_row_by_row_ub
|
||||
|
||||
subroutine dspmm_row_by_row_symb_num(a,b,c,info)
|
||||
use psb_d_mat_mod, only : psb_dspmat_type
|
||||
import :: psb_ipk_
|
||||
implicit none
|
||||
type(psb_dspmat_type), intent(in) :: a,b
|
||||
type(psb_dspmat_type), intent(out) :: c
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine dspmm_row_by_row_symb_num
|
||||
|
||||
subroutine dspmm_row_by_row_1d_blocks_symb_num(a,b,c,info)
|
||||
use psb_d_mat_mod, only : psb_dspmat_type
|
||||
import :: psb_ipk_
|
||||
implicit none
|
||||
type(psb_dspmat_type), intent(in) :: a,b
|
||||
type(psb_dspmat_type), intent(out) :: c
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine dspmm_row_by_row_1d_blocks_symb_num
|
||||
|
||||
subroutine dspmm_row_by_row_2d_blocks_symb_num(a,b,c,info)
|
||||
use psb_d_mat_mod, only : psb_dspmat_type
|
||||
import :: psb_ipk_
|
||||
implicit none
|
||||
type(psb_dspmat_type), intent(in) :: a,b
|
||||
type(psb_dspmat_type), intent(out) :: c
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
end subroutine dspmm_row_by_row_2d_blocks_symb_num
|
||||
end interface spmm_row_by_row
|
||||
|
||||
end module sp3mm_mod
|
@ -0,0 +1,12 @@
|
||||
subroutine dspmm_row_by_row_ub(a,b,c,info)
|
||||
use psb_error_mod
|
||||
use psb_base_mat_mod
|
||||
use psb_d_mat_mod, only : psb_dspmat_type
|
||||
use psb_objhandle_mod, only: spmat_t, config_t
|
||||
implicit none
|
||||
type(psb_dspmat_type), intent(in) :: a,b
|
||||
type(psb_dspmat_type), intent(out) :: c
|
||||
integer(psb_ipk_), intent(out) :: info
|
||||
|
||||
! TODO : implement the C interface
|
||||
end subroutine dspmm_row_by_row_ub
|
Loading…
Reference in New Issue