mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-16 02:49:03 +00:00
Out from MMIO read in COO.
This commit is contained in:
@@ -346,7 +346,6 @@ subroutine cmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'complex').and.(psb_tolower(sym) == 'symmetric')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -369,7 +368,6 @@ subroutine cmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'complex').and.(psb_tolower(sym) == 'hermitian')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -392,7 +390,6 @@ subroutine cmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else
|
||||
write(psb_err_unit,*) 'read_matrix: matrix type not yet supported'
|
||||
@@ -522,7 +519,6 @@ subroutine lcmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'complex').and.(psb_tolower(sym) == 'symmetric')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -545,7 +541,6 @@ subroutine lcmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'complex').and.(psb_tolower(sym) == 'hermitian')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -568,7 +563,6 @@ subroutine lcmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else
|
||||
write(psb_err_unit,*) 'read_matrix: matrix type not yet supported'
|
||||
|
||||
@@ -386,7 +386,6 @@ subroutine dmm_mat_read(a, info, iunit, filename)
|
||||
if (info == 0) then
|
||||
call acoo%fix(info)
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
end if
|
||||
|
||||
if (infile /= 5) close(infile)
|
||||
@@ -561,7 +560,6 @@ subroutine ldmm_mat_read(a, info, iunit, filename)
|
||||
if (info == 0) then
|
||||
call acoo%fix(info)
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
end if
|
||||
|
||||
if (infile /= 5) close(infile)
|
||||
|
||||
@@ -341,7 +341,6 @@ subroutine smm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'real').and.(psb_tolower(sym) == 'symmetric')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -363,7 +362,6 @@ subroutine smm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else
|
||||
write(psb_err_unit,*) 'read_matrix: matrix type not yet supported'
|
||||
@@ -494,7 +492,6 @@ subroutine lsmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'real').and.(psb_tolower(sym) == 'symmetric')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -516,7 +513,6 @@ subroutine lsmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else
|
||||
write(psb_err_unit,*) 'read_matrix: matrix type not yet supported'
|
||||
|
||||
@@ -346,7 +346,6 @@ subroutine zmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'complex').and.(psb_tolower(sym) == 'symmetric')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -369,7 +368,6 @@ subroutine zmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'complex').and.(psb_tolower(sym) == 'hermitian')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -392,7 +390,6 @@ subroutine zmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else
|
||||
write(psb_err_unit,*) 'read_matrix: matrix type not yet supported'
|
||||
@@ -522,7 +519,6 @@ subroutine lzmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'complex').and.(psb_tolower(sym) == 'symmetric')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -545,7 +541,6 @@ subroutine lzmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else if ((psb_tolower(type) == 'complex').and.(psb_tolower(sym) == 'hermitian')) then
|
||||
! we are generally working with non-symmetric matrices, so
|
||||
@@ -568,7 +563,6 @@ subroutine lzmm_mat_read(a, info, iunit, filename)
|
||||
call acoo%fix(info)
|
||||
|
||||
call a%mv_from(acoo)
|
||||
call a%cscnv(ircode,type='csr')
|
||||
|
||||
else
|
||||
write(psb_err_unit,*) 'read_matrix: matrix type not yet supported'
|
||||
|
||||
Reference in New Issue
Block a user