|
|
@ -637,6 +637,21 @@ program psb_d_pde2d
|
|
|
|
call prec%set('sub_fillin', parms%fill, info)
|
|
|
|
call prec%set('sub_fillin', parms%fill, info)
|
|
|
|
call prec%set('sub_iluthrs', parms%thresh, info)
|
|
|
|
call prec%set('sub_iluthrs', parms%thresh, info)
|
|
|
|
call prec%set('ilut_scale', parms%ilut_scale, info)
|
|
|
|
call prec%set('ilut_scale', parms%ilut_scale, info)
|
|
|
|
|
|
|
|
case ("AINV")
|
|
|
|
|
|
|
|
call prec%set('inv_thresh', parms%inv_thresh, info)
|
|
|
|
|
|
|
|
call prec%set('inv_fillin', parms%inv_fill, info)
|
|
|
|
|
|
|
|
call prec%set('ilut_scale', parms%ilut_scale, info)
|
|
|
|
|
|
|
|
call prec%set('ainv_alg', parms%orth_alg, info)
|
|
|
|
|
|
|
|
case ("INVK")
|
|
|
|
|
|
|
|
call prec%set('sub_fillin', parms%fill, info)
|
|
|
|
|
|
|
|
call prec%set('inv_fillin', parms%inv_fill, info)
|
|
|
|
|
|
|
|
call prec%set('ilut_scale', parms%ilut_scale, info)
|
|
|
|
|
|
|
|
case ("INVT")
|
|
|
|
|
|
|
|
call prec%set('sub_fillin', parms%fill, info)
|
|
|
|
|
|
|
|
call prec%set('inv_fillin', parms%inv_fill, info)
|
|
|
|
|
|
|
|
call prec%set('sub_iluthrs', parms%thresh, info)
|
|
|
|
|
|
|
|
call prec%set('inv_thresh', parms%inv_thresh, info)
|
|
|
|
|
|
|
|
call prec%set('ilut_scale', parms%ilut_scale, info)
|
|
|
|
case default
|
|
|
|
case default
|
|
|
|
! Do nothing, use default setting in the init routine
|
|
|
|
! Do nothing, use default setting in the init routine
|
|
|
|
end select
|
|
|
|
end select
|
|
|
@ -834,12 +849,20 @@ contains
|
|
|
|
write(psb_out_unit,'("Threshold : ",es12.5)') parms%thresh
|
|
|
|
write(psb_out_unit,'("Threshold : ",es12.5)') parms%thresh
|
|
|
|
write(psb_out_unit,'("Scaling : ",a)') parms%ilut_scale
|
|
|
|
write(psb_out_unit,'("Scaling : ",a)') parms%ilut_scale
|
|
|
|
case ('INVK')
|
|
|
|
case ('INVK')
|
|
|
|
|
|
|
|
write(psb_out_unit,'("Fill in : ",i0)') parms%fill
|
|
|
|
|
|
|
|
write(psb_out_unit,'("Invese Fill in : ",i0)') parms%inv_fill
|
|
|
|
|
|
|
|
write(psb_out_unit,'("Scaling : ",a)') parms%ilut_scale
|
|
|
|
|
|
|
|
case ('INVT')
|
|
|
|
write(psb_out_unit,'("Fill in : ",i0)') parms%fill
|
|
|
|
write(psb_out_unit,'("Fill in : ",i0)') parms%fill
|
|
|
|
write(psb_out_unit,'("Threshold : ",es12.5)') parms%thresh
|
|
|
|
write(psb_out_unit,'("Threshold : ",es12.5)') parms%thresh
|
|
|
|
write(psb_out_unit,'("Invese Fill in : ",i0)') parms%inv_fill
|
|
|
|
write(psb_out_unit,'("Invese Fill in : ",i0)') parms%inv_fill
|
|
|
|
write(psb_out_unit,'("Inverse Threshold : ",es12.5)') parms%inv_thresh
|
|
|
|
write(psb_out_unit,'("Inverse Threshold : ",es12.5)') parms%inv_thresh
|
|
|
|
case ('AINVT','AORTH')
|
|
|
|
write(psb_out_unit,'("Scaling : ",a)') parms%ilut_scale
|
|
|
|
|
|
|
|
case ('AINV','AORTH')
|
|
|
|
write(psb_out_unit,'("Inverse Threshold : ",es12.5)') parms%inv_thresh
|
|
|
|
write(psb_out_unit,'("Inverse Threshold : ",es12.5)') parms%inv_thresh
|
|
|
|
|
|
|
|
write(psb_out_unit,'("Invese Fill in : ",i0)') parms%inv_fill
|
|
|
|
|
|
|
|
write(psb_out_unit,'("Orthogonalization : ",a)') parms%orth_alg
|
|
|
|
|
|
|
|
write(psb_out_unit,'("Scaling : ",a)') parms%ilut_scale
|
|
|
|
case default
|
|
|
|
case default
|
|
|
|
write(psb_out_unit,'("Unknown diagonal solver")')
|
|
|
|
write(psb_out_unit,'("Unknown diagonal solver")')
|
|
|
|
end select
|
|
|
|
end select
|
|
|
@ -867,6 +890,13 @@ contains
|
|
|
|
call psb_bcast(ctxt,itmax)
|
|
|
|
call psb_bcast(ctxt,itmax)
|
|
|
|
call psb_bcast(ctxt,itrace)
|
|
|
|
call psb_bcast(ctxt,itrace)
|
|
|
|
call psb_bcast(ctxt,irst)
|
|
|
|
call psb_bcast(ctxt,irst)
|
|
|
|
|
|
|
|
call psb_bcast(ctxt,parms%alg)
|
|
|
|
|
|
|
|
call psb_bcast(ctxt,parms%fill)
|
|
|
|
|
|
|
|
call psb_bcast(ctxt,parms%inv_fill)
|
|
|
|
|
|
|
|
call psb_bcast(ctxt,parms%thresh)
|
|
|
|
|
|
|
|
call psb_bcast(ctxt,parms%inv_thresh)
|
|
|
|
|
|
|
|
call psb_bcast(ctxt,parms%orth_alg)
|
|
|
|
|
|
|
|
call psb_bcast(ctxt,parms%ilut_scale)
|
|
|
|
|
|
|
|
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|