|
|
@ -474,6 +474,16 @@ subroutine amg_dcprecsetc(p,what,string,info,ilev,ilmax,pos,idx)
|
|
|
|
select case (psb_toupper(string))
|
|
|
|
select case (psb_toupper(string))
|
|
|
|
case('BJAC')
|
|
|
|
case('BJAC')
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',amg_bjac_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',amg_bjac_,info,pos=pos)
|
|
|
|
|
|
|
|
#if defined(HAVE_UMF_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',amg_umf_,info,pos=pos)
|
|
|
|
|
|
|
|
#elif defined(HAVE_SLU_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',amg_slu_,info,pos=pos)
|
|
|
|
|
|
|
|
#elif defined(HAVE_MUMPS_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',amg_mumps_,info,pos=pos)
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',psb_ilu_n_,info,pos=pos)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',amg_distr_mat_,info)
|
|
|
|
case('L1-BJAC')
|
|
|
|
case('L1-BJAC')
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',amg_l1_bjac_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',amg_l1_bjac_,info,pos=pos)
|
|
|
|
#if defined(HAVE_UMF_)
|
|
|
|
#if defined(HAVE_UMF_)
|
|
|
@ -638,6 +648,16 @@ subroutine amg_dcprecsetc(p,what,string,info,ilev,ilmax,pos,idx)
|
|
|
|
select case (psb_toupper(trim(string)))
|
|
|
|
select case (psb_toupper(trim(string)))
|
|
|
|
case('BJAC')
|
|
|
|
case('BJAC')
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',amg_bjac_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',amg_bjac_,info,pos=pos)
|
|
|
|
|
|
|
|
#if defined(HAVE_UMF_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',amg_umf_,info,pos=pos)
|
|
|
|
|
|
|
|
#elif defined(HAVE_SLU_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',amg_slu_,info,pos=pos)
|
|
|
|
|
|
|
|
#elif defined(HAVE_MUMPS_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',amg_mumps_,info,pos=pos)
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',psb_ilu_n_,info,pos=pos)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',amg_distr_mat_,info)
|
|
|
|
case('L1-BJAC')
|
|
|
|
case('L1-BJAC')
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',amg_l1_bjac_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',amg_l1_bjac_,info,pos=pos)
|
|
|
|
#if defined(HAVE_UMF_)
|
|
|
|
#if defined(HAVE_UMF_)
|
|
|
|