|
|
|
@ -156,7 +156,14 @@ contains
|
|
|
|
|
end subroutine psb_c_null_precfree
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
subroutine psb_c_null_precdescr(prec,iout,root)
|
|
|
|
|
!
|
|
|
|
|
!
|
|
|
|
|
! verbosity:
|
|
|
|
|
! <0: suppress all messages
|
|
|
|
|
! 0: normal
|
|
|
|
|
! >1: increased details
|
|
|
|
|
!
|
|
|
|
|
subroutine psb_c_null_precdescr(prec,iout,root, verbosity)
|
|
|
|
|
use psb_penv_mod
|
|
|
|
|
use psb_error_mod
|
|
|
|
|
|
|
|
|
@ -165,13 +172,14 @@ contains
|
|
|
|
|
class(psb_c_null_prec_type), intent(in) :: prec
|
|
|
|
|
integer(psb_ipk_), intent(in), optional :: iout
|
|
|
|
|
integer(psb_ipk_), intent(in), optional :: root
|
|
|
|
|
integer(psb_ipk_), intent(in), optional :: verbosity
|
|
|
|
|
|
|
|
|
|
integer(psb_ipk_) :: err_act, nrow, info
|
|
|
|
|
character(len=20) :: name='c_null_precset'
|
|
|
|
|
character(len=32) :: dprefix, frmtv
|
|
|
|
|
integer(psb_ipk_) :: ni
|
|
|
|
|
type(psb_ctxt_type) :: ctxt
|
|
|
|
|
integer(psb_ipk_) :: iout_, iam, np, root_
|
|
|
|
|
integer(psb_ipk_) :: iout_, iam, np, root_, verbosity_
|
|
|
|
|
|
|
|
|
|
call psb_erractionsave(err_act)
|
|
|
|
|
|
|
|
|
@ -187,16 +195,22 @@ contains
|
|
|
|
|
else
|
|
|
|
|
root_ = psb_root_
|
|
|
|
|
end if
|
|
|
|
|
if (present(verbosity)) then
|
|
|
|
|
verbosity_ = verbosity
|
|
|
|
|
else
|
|
|
|
|
verbosity_ = 0
|
|
|
|
|
end if
|
|
|
|
|
if (verbosity_ < 0) goto 9998
|
|
|
|
|
|
|
|
|
|
ctxt = prec%ctxt
|
|
|
|
|
call psb_info(ctxt,iam,np)
|
|
|
|
|
if (root_ == -1) root_ = iam
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (iam == root_) &
|
|
|
|
|
& write(iout_,*) trim(prec%desc_prefix()),' ',&
|
|
|
|
|
& 'No preconditioning'
|
|
|
|
|
|
|
|
|
|
9998 continue
|
|
|
|
|
call psb_erractionrestore(err_act)
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|