|
|
@ -287,6 +287,18 @@ subroutine mld_dcprecseti(p,what,val,info,ilev,ilmax,pos,idx)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_bjac_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_bjac_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_l1_diag_scale_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_l1_diag_scale_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
|
|
|
|
case(mld_gs_,mld_fbgs_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_bjac_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_gs_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
|
|
|
|
case(mld_bwgs_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_bjac_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_bwgs_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
|
|
|
|
case(mld_l1_gs_,mld_l1_fbgs_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_l1_bjac_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_gs_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
end select
|
|
|
|
end select
|
|
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|
|
|
@ -435,6 +447,18 @@ subroutine mld_dcprecseti(p,what,val,info,ilev,ilmax,pos,idx)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_bjac_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_bjac_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_l1_diag_scale_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_l1_diag_scale_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
|
|
|
|
case(mld_gs_,mld_fbgs_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_bjac_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_gs_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
|
|
|
|
case(mld_bwgs_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_bjac_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_bwgs_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
|
|
|
|
case(mld_l1_gs_,mld_l1_fbgs_)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE',mld_l1_bjac_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE',mld_gs_,info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT',mld_distr_mat_,info,pos=pos)
|
|
|
|
end select
|
|
|
|
end select
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
@ -670,7 +694,6 @@ subroutine mld_dcprecsetc(p,what,string,info,ilev,ilmax,pos,idx)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','ILU',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','ILU',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
case('SLUDIST')
|
|
|
|
case('SLUDIST')
|
|
|
|
#if defined(HAVE_SLUDIST_)
|
|
|
|
#if defined(HAVE_SLUDIST_)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
@ -702,6 +725,18 @@ subroutine mld_dcprecsetc(p,what,string,info,ilev,ilmax,pos,idx)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','L1-DIAG',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','L1-DIAG',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
|
|
|
|
case('GS','FWGS','FBGS')
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','GS',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
|
|
|
|
case('BWGS')
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','BWGS',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
|
|
|
|
case('L1-GS')
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','L1-BJAC',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','GS',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
end select
|
|
|
|
end select
|
|
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|
|
|
@ -827,11 +862,22 @@ subroutine mld_dcprecsetc(p,what,string,info,ilev,ilmax,pos,idx)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','DIAG',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','DIAG',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
|
|
|
|
|
|
|
|
case('L1-JACOBI')
|
|
|
|
case('L1-JACOBI')
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','L1-DIAG',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','L1-DIAG',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
|
|
|
|
case('GS','FWGS','FBGS')
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','GS',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
|
|
|
|
case('BWGS')
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','BJAC',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','BWGS',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
|
|
|
|
case('L1-GS')
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SMOOTHER_TYPE','L1-BJAC',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('SUB_SOLVE','GS',info,pos=pos)
|
|
|
|
|
|
|
|
call p%precv(nlev_)%set('COARSE_MAT','DIST',info,pos=pos)
|
|
|
|
end select
|
|
|
|
end select
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|