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