|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
! POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
!
|
|
|
|
|
!
|
|
|
|
|
subroutine psb_cprecinit(p,ptype,info)
|
|
|
|
|
subroutine psb_cprecinit(ictxt,p,ptype,info)
|
|
|
|
|
|
|
|
|
|
use psb_base_mod
|
|
|
|
|
use psb_c_prec_type, psb_protect_name => psb_cprecinit
|
|
|
|
@ -37,7 +37,8 @@ subroutine psb_cprecinit(p,ptype,info)
|
|
|
|
|
use psb_c_diagprec, only : psb_c_diag_prec_type
|
|
|
|
|
use psb_c_bjacprec, only : psb_c_bjac_prec_type
|
|
|
|
|
implicit none
|
|
|
|
|
class(psb_cprec_type), intent(inout) :: p
|
|
|
|
|
integer(psb_ipk_), intent(in) :: ictxt
|
|
|
|
|
class(psb_cprec_type), intent(inout) :: p
|
|
|
|
|
character(len=*), intent(in) :: ptype
|
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
|
|
|
|
|
@ -49,6 +50,8 @@ subroutine psb_cprecinit(p,ptype,info)
|
|
|
|
|
if (info /= psb_success_) return
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
|
|
p%ictxt = ictxt
|
|
|
|
|
|
|
|
|
|
select case(psb_toupper(ptype(1:len_trim(ptype))))
|
|
|
|
|
case ('NONE','NOPREC')
|
|
|
|
|
|
|
|
|
|