mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 21:02:26 +00:00
psblas3:
base/modules/psb_base_mat_mod.f90 base/modules/psb_c_base_mat_mod.f90 base/modules/psb_c_csc_mat_mod.f90 base/modules/psb_c_csr_mat_mod.f90 base/modules/psb_c_mat_mod.f90 base/modules/psb_d_base_mat_mod.f90 base/modules/psb_d_csc_mat_mod.f90 base/modules/psb_d_csr_mat_mod.f90 base/modules/psb_d_mat_mod.f90 base/modules/psb_s_base_mat_mod.f90 base/modules/psb_s_csc_mat_mod.f90 base/modules/psb_s_csr_mat_mod.f90 base/modules/psb_s_mat_mod.f90 base/modules/psb_serial_mod.f90 base/modules/psb_z_base_mat_mod.f90 base/modules/psb_z_csc_mat_mod.f90 base/modules/psb_z_csr_mat_mod.f90 base/modules/psb_z_mat_mod.f90 base/serial/impl/psb_c_coo_impl.f90 base/serial/impl/psb_c_csc_impl.f90 base/serial/impl/psb_c_csr_impl.f90 base/serial/impl/psb_c_mat_impl.F90 base/serial/impl/psb_d_coo_impl.f90 base/serial/impl/psb_d_csc_impl.f90 base/serial/impl/psb_d_csr_impl.f90 base/serial/impl/psb_d_mat_impl.F90 base/serial/impl/psb_s_coo_impl.f90 base/serial/impl/psb_s_csc_impl.f90 base/serial/impl/psb_s_csr_impl.f90 base/serial/impl/psb_s_mat_impl.F90 base/serial/impl/psb_z_coo_impl.f90 base/serial/impl/psb_z_csc_impl.f90 base/serial/impl/psb_z_csr_impl.f90 base/serial/impl/psb_z_mat_impl.F90 config/pac.m4 Modified interface of print. Added comments on the various methods.
This commit is contained in:
@@ -446,7 +446,7 @@ end subroutine psb_s_set_upper
|
||||
! == ===================================
|
||||
|
||||
|
||||
subroutine psb_s_sparse_print(iout,a,iv,eirs,eics,head,ivr,ivc)
|
||||
subroutine psb_s_sparse_print(iout,a,iv,head,ivr,ivc)
|
||||
use psb_s_mat_mod, psb_protect_name => psb_s_sparse_print
|
||||
use psb_error_mod
|
||||
implicit none
|
||||
@@ -454,7 +454,6 @@ subroutine psb_s_sparse_print(iout,a,iv,eirs,eics,head,ivr,ivc)
|
||||
integer, intent(in) :: iout
|
||||
class(psb_sspmat_type), intent(in) :: a
|
||||
integer, intent(in), optional :: iv(:)
|
||||
integer, intent(in), optional :: eirs,eics
|
||||
character(len=*), optional :: head
|
||||
integer, intent(in), optional :: ivr(:), ivc(:)
|
||||
|
||||
@@ -470,7 +469,7 @@ subroutine psb_s_sparse_print(iout,a,iv,eirs,eics,head,ivr,ivc)
|
||||
goto 9999
|
||||
endif
|
||||
|
||||
call a%a%print(iout,iv,eirs,eics,head,ivr,ivc)
|
||||
call a%a%print(iout,iv,head,ivr,ivc)
|
||||
|
||||
return
|
||||
|
||||
@@ -485,7 +484,7 @@ subroutine psb_s_sparse_print(iout,a,iv,eirs,eics,head,ivr,ivc)
|
||||
end subroutine psb_s_sparse_print
|
||||
|
||||
|
||||
subroutine psb_s_n_sparse_print(fname,a,iv,eirs,eics,head,ivr,ivc)
|
||||
subroutine psb_s_n_sparse_print(fname,a,iv,head,ivr,ivc)
|
||||
use psb_s_mat_mod, psb_protect_name => psb_s_n_sparse_print
|
||||
use psb_error_mod
|
||||
implicit none
|
||||
@@ -493,7 +492,6 @@ subroutine psb_s_n_sparse_print(fname,a,iv,eirs,eics,head,ivr,ivc)
|
||||
character(len=*), intent(in) :: fname
|
||||
class(psb_sspmat_type), intent(in) :: a
|
||||
integer, intent(in), optional :: iv(:)
|
||||
integer, intent(in), optional :: eirs,eics
|
||||
character(len=*), optional :: head
|
||||
integer, intent(in), optional :: ivr(:), ivc(:)
|
||||
|
||||
@@ -522,7 +520,7 @@ subroutine psb_s_n_sparse_print(fname,a,iv,eirs,eics,head,ivr,ivc)
|
||||
end if
|
||||
open(iout,file=fname,iostat=info)
|
||||
if (info == psb_success_) then
|
||||
call a%a%print(iout,iv,eirs,eics,head,ivr,ivc)
|
||||
call a%a%print(iout,iv,head,ivr,ivc)
|
||||
close(iout)
|
||||
else
|
||||
write(psb_err_unit,*) 'Error: could not open ',fname,' for output'
|
||||
|
||||
Reference in New Issue
Block a user