Improve use of TRIM in precinit

pizdaint-runs
Salvatore Filippone 5 years ago
parent f7059c285d
commit 32d550ed05

@ -126,7 +126,7 @@ subroutine mld_cprecinit(ictxt,prec,ptype,info)
prec%ictxt = ictxt prec%ictxt = ictxt
prec%ag_data%min_coarse_size = -1 prec%ag_data%min_coarse_size = -1
select case(psb_toupper(ptype(1:len_trim(ptype)))) select case(psb_toupper(trim(ptype)))
case ('NOPREC','NONE') case ('NOPREC','NONE')
nlev_ = 1 nlev_ = 1
ilev_ = 1 ilev_ = 1
@ -225,7 +225,6 @@ subroutine mld_cprecinit(ictxt,prec,ptype,info)
#else #else
call prec%set('COARSE_SOLVE','ILU',info) call prec%set('COARSE_SOLVE','ILU',info)
#endif #endif
!call prec%precv(nlev_)%default()
case default case default
write(psb_err_unit,*) name,& write(psb_err_unit,*) name,&

@ -129,7 +129,7 @@ subroutine mld_dprecinit(ictxt,prec,ptype,info)
prec%ictxt = ictxt prec%ictxt = ictxt
prec%ag_data%min_coarse_size = -1 prec%ag_data%min_coarse_size = -1
select case(psb_toupper(ptype(1:len_trim(ptype)))) select case(psb_toupper(trim(ptype)))
case ('NOPREC','NONE') case ('NOPREC','NONE')
nlev_ = 1 nlev_ = 1
ilev_ = 1 ilev_ = 1
@ -230,7 +230,6 @@ subroutine mld_dprecinit(ictxt,prec,ptype,info)
#else #else
call prec%set('COARSE_SOLVE','ILU',info) call prec%set('COARSE_SOLVE','ILU',info)
#endif #endif
!call prec%precv(nlev_)%default()
case default case default
write(psb_err_unit,*) name,& write(psb_err_unit,*) name,&

@ -126,7 +126,7 @@ subroutine mld_sprecinit(ictxt,prec,ptype,info)
prec%ictxt = ictxt prec%ictxt = ictxt
prec%ag_data%min_coarse_size = -1 prec%ag_data%min_coarse_size = -1
select case(psb_toupper(ptype(1:len_trim(ptype)))) select case(psb_toupper(trim(ptype)))
case ('NOPREC','NONE') case ('NOPREC','NONE')
nlev_ = 1 nlev_ = 1
ilev_ = 1 ilev_ = 1
@ -225,7 +225,6 @@ subroutine mld_sprecinit(ictxt,prec,ptype,info)
#else #else
call prec%set('COARSE_SOLVE','ILU',info) call prec%set('COARSE_SOLVE','ILU',info)
#endif #endif
!call prec%precv(nlev_)%default()
case default case default
write(psb_err_unit,*) name,& write(psb_err_unit,*) name,&

@ -129,7 +129,7 @@ subroutine mld_zprecinit(ictxt,prec,ptype,info)
prec%ictxt = ictxt prec%ictxt = ictxt
prec%ag_data%min_coarse_size = -1 prec%ag_data%min_coarse_size = -1
select case(psb_toupper(ptype(1:len_trim(ptype)))) select case(psb_toupper(trim(ptype)))
case ('NOPREC','NONE') case ('NOPREC','NONE')
nlev_ = 1 nlev_ = 1
ilev_ = 1 ilev_ = 1
@ -230,7 +230,6 @@ subroutine mld_zprecinit(ictxt,prec,ptype,info)
#else #else
call prec%set('COARSE_SOLVE','ILU',info) call prec%set('COARSE_SOLVE','ILU',info)
#endif #endif
!call prec%precv(nlev_)%default()
case default case default
write(psb_err_unit,*) name,& write(psb_err_unit,*) name,&

Loading…
Cancel
Save