|
|
@ -52,20 +52,25 @@ subroutine mld_c_jac_smoother_csetc(sm,what,val,info,idx)
|
|
|
|
info = psb_success_
|
|
|
|
info = psb_success_
|
|
|
|
call psb_erractionsave(err_act)
|
|
|
|
call psb_erractionsave(err_act)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select case(psb_toupper(trim(what)))
|
|
|
|
select case(psb_toupper(what))
|
|
|
|
|
|
|
|
case('SMOOTHER_STOP')
|
|
|
|
case('SMOOTHER_STOP')
|
|
|
|
if((psb_toupper(trim(val)) == 'T').or.(psb_toupper(trim(val)) == 'TRUE')) then
|
|
|
|
select case(psb_toupper(trim(val)))
|
|
|
|
|
|
|
|
case('T','TRUE')
|
|
|
|
sm%checkres = .true.
|
|
|
|
sm%checkres = .true.
|
|
|
|
else
|
|
|
|
case('F','FALSE')
|
|
|
|
sm%checkres = .false.
|
|
|
|
sm%checkres = .false.
|
|
|
|
end if
|
|
|
|
case default
|
|
|
|
|
|
|
|
write(0,*) 'Unknown value for smoother_stop : "',psb_toupper(trim(val)),'"'
|
|
|
|
|
|
|
|
end select
|
|
|
|
case('SMOOTHER_TRACE')
|
|
|
|
case('SMOOTHER_TRACE')
|
|
|
|
if((psb_toupper(trim(val)) == 'T').or.(psb_toupper(trim(val)) == 'TRUE')) then
|
|
|
|
select case(psb_toupper(trim(val)))
|
|
|
|
|
|
|
|
case('T','TRUE')
|
|
|
|
sm%printres = .true.
|
|
|
|
sm%printres = .true.
|
|
|
|
else
|
|
|
|
case('F','FALSE')
|
|
|
|
sm%printres = .false.
|
|
|
|
sm%printres = .false.
|
|
|
|
end if
|
|
|
|
case default
|
|
|
|
|
|
|
|
write(0,*) 'Unknown value for smoother_trace : "',psb_toupper(trim(val)),'"'
|
|
|
|
|
|
|
|
end select
|
|
|
|
case default
|
|
|
|
case default
|
|
|
|
call sm%mld_c_base_smoother_type%set(what,val,info,idx=idx)
|
|
|
|
call sm%mld_c_base_smoother_type%set(what,val,info,idx=idx)
|
|
|
|
end select
|
|
|
|
end select
|
|
|
|