|
|
@ -59,7 +59,6 @@ module mld_c_gs_solver
|
|
|
|
type(psb_cspmat_type) :: l, u
|
|
|
|
type(psb_cspmat_type) :: l, u
|
|
|
|
integer(psb_ipk_) :: sweeps
|
|
|
|
integer(psb_ipk_) :: sweeps
|
|
|
|
real(psb_spk_) :: eps
|
|
|
|
real(psb_spk_) :: eps
|
|
|
|
real(psb_spk_), allocatable :: xtra(:)
|
|
|
|
|
|
|
|
contains
|
|
|
|
contains
|
|
|
|
procedure, pass(sv) :: dump => mld_c_gs_solver_dmp
|
|
|
|
procedure, pass(sv) :: dump => mld_c_gs_solver_dmp
|
|
|
|
procedure, pass(sv) :: check => c_gs_solver_check
|
|
|
|
procedure, pass(sv) :: check => c_gs_solver_check
|
|
|
@ -78,7 +77,6 @@ module mld_c_gs_solver
|
|
|
|
procedure, pass(sv) :: default => c_gs_solver_default
|
|
|
|
procedure, pass(sv) :: default => c_gs_solver_default
|
|
|
|
procedure, pass(sv) :: sizeof => c_gs_solver_sizeof
|
|
|
|
procedure, pass(sv) :: sizeof => c_gs_solver_sizeof
|
|
|
|
procedure, pass(sv) :: get_nzeros => c_gs_solver_get_nzeros
|
|
|
|
procedure, pass(sv) :: get_nzeros => c_gs_solver_get_nzeros
|
|
|
|
procedure, pass(sv) :: set_xtra_d => c_gs_solver_set_xtra_d
|
|
|
|
|
|
|
|
procedure, nopass :: get_wrksz => c_gs_solver_get_wrksize
|
|
|
|
procedure, nopass :: get_wrksz => c_gs_solver_get_wrksize
|
|
|
|
procedure, nopass :: get_fmt => c_gs_solver_get_fmt
|
|
|
|
procedure, nopass :: get_fmt => c_gs_solver_get_fmt
|
|
|
|
procedure, nopass :: get_id => c_gs_solver_get_id
|
|
|
|
procedure, nopass :: get_id => c_gs_solver_get_id
|
|
|
@ -587,16 +585,4 @@ contains
|
|
|
|
val = 2
|
|
|
|
val = 2
|
|
|
|
end function c_gs_solver_get_wrksize
|
|
|
|
end function c_gs_solver_get_wrksize
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
subroutine c_gs_solver_set_xtra_d(sv,d)
|
|
|
|
|
|
|
|
implicit none
|
|
|
|
|
|
|
|
! Arguments
|
|
|
|
|
|
|
|
class(mld_c_gs_solver_type), intent(inout) :: sv
|
|
|
|
|
|
|
|
real(psb_spk_), intent(in) :: d(:)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sv%xtra = d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
end subroutine c_gs_solver_set_xtra_d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
end module mld_c_gs_solver
|
|
|
|
end module mld_c_gs_solver
|
|
|
|