You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
amg4psblas/mlprec/impl/solver/mld_z_ilu_solver_dmp.f90

53 lines
1.5 KiB
Fortran

mld2p4-2: mlprec/impl/Makefile mlprec/impl/SMOOTHER mlprec/impl/SMOOTHER/Makefile mlprec/impl/SMOOTHER/mld_c_as_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_c_as_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_c_as_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_c_as_smoother_check.f90 mlprec/impl/SMOOTHER/mld_c_as_smoother_dmp.f90 mlprec/impl/SMOOTHER/mld_c_as_smoother_free.f90 mlprec/impl/SMOOTHER/mld_c_as_smoother_setc.f90 mlprec/impl/SMOOTHER/mld_c_as_smoother_seti.f90 mlprec/impl/SMOOTHER/mld_c_as_smoother_setr.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_check.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_descr.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_dmp.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_free.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_setc.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_seti.f90 mlprec/impl/SMOOTHER/mld_c_base_smoother_setr.f90 mlprec/impl/SMOOTHER/mld_c_jac_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_c_jac_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_c_jac_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_d_as_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_d_as_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_d_as_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_d_as_smoother_check.f90 mlprec/impl/SMOOTHER/mld_d_as_smoother_dmp.f90 mlprec/impl/SMOOTHER/mld_d_as_smoother_free.f90 mlprec/impl/SMOOTHER/mld_d_as_smoother_setc.f90 mlprec/impl/SMOOTHER/mld_d_as_smoother_seti.f90 mlprec/impl/SMOOTHER/mld_d_as_smoother_setr.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_check.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_descr.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_dmp.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_free.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_setc.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_seti.f90 mlprec/impl/SMOOTHER/mld_d_base_smoother_setr.f90 mlprec/impl/SMOOTHER/mld_d_jac_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_d_jac_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_d_jac_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_s_as_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_s_as_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_s_as_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_s_as_smoother_check.f90 mlprec/impl/SMOOTHER/mld_s_as_smoother_dmp.f90 mlprec/impl/SMOOTHER/mld_s_as_smoother_free.f90 mlprec/impl/SMOOTHER/mld_s_as_smoother_setc.f90 mlprec/impl/SMOOTHER/mld_s_as_smoother_seti.f90 mlprec/impl/SMOOTHER/mld_s_as_smoother_setr.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_check.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_descr.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_dmp.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_free.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_setc.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_seti.f90 mlprec/impl/SMOOTHER/mld_s_base_smoother_setr.f90 mlprec/impl/SMOOTHER/mld_s_jac_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_s_jac_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_s_jac_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_z_as_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_z_as_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_z_as_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_z_as_smoother_check.f90 mlprec/impl/SMOOTHER/mld_z_as_smoother_dmp.f90 mlprec/impl/SMOOTHER/mld_z_as_smoother_free.f90 mlprec/impl/SMOOTHER/mld_z_as_smoother_setc.f90 mlprec/impl/SMOOTHER/mld_z_as_smoother_seti.f90 mlprec/impl/SMOOTHER/mld_z_as_smoother_setr.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_bld.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_check.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_descr.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_dmp.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_free.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_setc.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_seti.f90 mlprec/impl/SMOOTHER/mld_z_base_smoother_setr.f90 mlprec/impl/SMOOTHER/mld_z_jac_smoother_apply.f90 mlprec/impl/SMOOTHER/mld_z_jac_smoother_apply_vect.f90 mlprec/impl/SMOOTHER/mld_z_jac_smoother_bld.f90 mlprec/impl/SOLVER mlprec/impl/SOLVER/Makefile mlprec/impl/SOLVER/mld_c_base_solver_apply.f90 mlprec/impl/SOLVER/mld_c_base_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_c_base_solver_bld.f90 mlprec/impl/SOLVER/mld_c_base_solver_check.f90 mlprec/impl/SOLVER/mld_c_base_solver_descr.f90 mlprec/impl/SOLVER/mld_c_base_solver_dmp.f90 mlprec/impl/SOLVER/mld_c_base_solver_free.f90 mlprec/impl/SOLVER/mld_c_base_solver_setc.f90 mlprec/impl/SOLVER/mld_c_base_solver_seti.f90 mlprec/impl/SOLVER/mld_c_base_solver_setr.f90 mlprec/impl/SOLVER/mld_c_diag_solver_apply.f90 mlprec/impl/SOLVER/mld_c_diag_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_c_diag_solver_bld.f90 mlprec/impl/SOLVER/mld_c_id_solver_apply.f90 mlprec/impl/SOLVER/mld_c_id_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_c_ilu_solver_apply.f90 mlprec/impl/SOLVER/mld_c_ilu_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_c_ilu_solver_bld.f90 mlprec/impl/SOLVER/mld_c_ilu_solver_dmp.f90 mlprec/impl/SOLVER/mld_d_base_solver_apply.f90 mlprec/impl/SOLVER/mld_d_base_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_d_base_solver_bld.f90 mlprec/impl/SOLVER/mld_d_base_solver_check.f90 mlprec/impl/SOLVER/mld_d_base_solver_descr.f90 mlprec/impl/SOLVER/mld_d_base_solver_dmp.f90 mlprec/impl/SOLVER/mld_d_base_solver_free.f90 mlprec/impl/SOLVER/mld_d_base_solver_setc.f90 mlprec/impl/SOLVER/mld_d_base_solver_seti.f90 mlprec/impl/SOLVER/mld_d_base_solver_setr.f90 mlprec/impl/SOLVER/mld_d_diag_solver_apply.f90 mlprec/impl/SOLVER/mld_d_diag_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_d_diag_solver_bld.f90 mlprec/impl/SOLVER/mld_d_id_solver_apply.f90 mlprec/impl/SOLVER/mld_d_id_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_d_ilu_solver_apply.f90 mlprec/impl/SOLVER/mld_d_ilu_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_d_ilu_solver_bld.f90 mlprec/impl/SOLVER/mld_d_ilu_solver_dmp.f90 mlprec/impl/SOLVER/mld_s_base_solver_apply.f90 mlprec/impl/SOLVER/mld_s_base_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_s_base_solver_bld.f90 mlprec/impl/SOLVER/mld_s_base_solver_check.f90 mlprec/impl/SOLVER/mld_s_base_solver_descr.f90 mlprec/impl/SOLVER/mld_s_base_solver_dmp.f90 mlprec/impl/SOLVER/mld_s_base_solver_free.f90 mlprec/impl/SOLVER/mld_s_base_solver_setc.f90 mlprec/impl/SOLVER/mld_s_base_solver_seti.f90 mlprec/impl/SOLVER/mld_s_base_solver_setr.f90 mlprec/impl/SOLVER/mld_s_diag_solver_apply.f90 mlprec/impl/SOLVER/mld_s_diag_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_s_diag_solver_bld.f90 mlprec/impl/SOLVER/mld_s_id_solver_apply.f90 mlprec/impl/SOLVER/mld_s_id_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_s_ilu_solver_apply.f90 mlprec/impl/SOLVER/mld_s_ilu_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_s_ilu_solver_bld.f90 mlprec/impl/SOLVER/mld_s_ilu_solver_dmp.f90 mlprec/impl/SOLVER/mld_z_base_solver_apply.f90 mlprec/impl/SOLVER/mld_z_base_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_z_base_solver_bld.f90 mlprec/impl/SOLVER/mld_z_base_solver_check.f90 mlprec/impl/SOLVER/mld_z_base_solver_descr.f90 mlprec/impl/SOLVER/mld_z_base_solver_dmp.f90 mlprec/impl/SOLVER/mld_z_base_solver_free.f90 mlprec/impl/SOLVER/mld_z_base_solver_setc.f90 mlprec/impl/SOLVER/mld_z_base_solver_seti.f90 mlprec/impl/SOLVER/mld_z_base_solver_setr.f90 mlprec/impl/SOLVER/mld_z_diag_solver_apply.f90 mlprec/impl/SOLVER/mld_z_diag_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_z_diag_solver_bld.f90 mlprec/impl/SOLVER/mld_z_id_solver_apply.f90 mlprec/impl/SOLVER/mld_z_id_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_z_ilu_solver_apply.f90 mlprec/impl/SOLVER/mld_z_ilu_solver_apply_vect.f90 mlprec/impl/SOLVER/mld_z_ilu_solver_bld.f90 mlprec/impl/SOLVER/mld_z_ilu_solver_dmp.f90 Split implementation of solvers and smoothers
12 years ago
subroutine mld_z_ilu_solver_dmp(sv,ictxt,level,info,prefix,head,solver)
use psb_base_mod
use mld_z_ilu_solver, mld_protect_name => mld_z_ilu_solver_dmp
implicit none
class(mld_z_ilu_solver_type), intent(in) :: sv
integer, intent(in) :: ictxt,level
integer, intent(out) :: info
character(len=*), intent(in), optional :: prefix, head
logical, optional, intent(in) :: solver
integer :: i, j, il1, iln, lname, lev
integer :: icontxt,iam, np
character(len=80) :: prefix_
character(len=120) :: fname ! len should be at least 20 more than
logical :: solver_
! len of prefix_
info = 0
call psb_info(ictxt,iam,np)
if (present(solver)) then
solver_ = solver
else
solver_ = .false.
end if
if (solver_) then
if (present(prefix)) then
prefix_ = trim(prefix(1:min(len(prefix),len(prefix_))))
else
prefix_ = "dump_slv_z"
end if
lname = len_trim(prefix_)
fname = trim(prefix_)
write(fname(lname+1:lname+5),'(a,i3.3)') '_p',iam
lname = lname + 5
write(fname(lname+1:),'(a,i3.3,a)')'_l',level,'_lower.mtx'
if (sv%l%is_asb()) &
& call sv%l%print(fname,head=head)
write(fname(lname+1:),'(a,i3.3,a)')'_l',level,'_diag.mtx'
if (allocated(sv%d)) &
& call psb_geprt(fname,sv%d,head=head)
write(fname(lname+1:),'(a,i3.3,a)')'_l',level,'_upper.mtx'
if (sv%u%is_asb()) &
& call sv%u%print(fname,head=head)
end if
end subroutine mld_z_ilu_solver_dmp