mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-16 10:52:09 +00:00
Added average coarsening ratio
This commit is contained in:
@@ -444,6 +444,7 @@ subroutine mld_c_hierarchy_bld(a,desc_a,prec,info)
|
||||
iszv = size(prec%precv)
|
||||
|
||||
call prec%cmp_complexity()
|
||||
call prec%cmp_avg_cr()
|
||||
|
||||
if (debug_level >= psb_debug_outer_) &
|
||||
& write(debug_unit,*) me,' ',trim(name),&
|
||||
|
||||
@@ -172,6 +172,7 @@ subroutine mld_cfile_prec_descr(prec,iout,root)
|
||||
write(iout_,*) 'Multilevel hierarchy: '
|
||||
write(iout_,*) ' Number of levels : ',nlev
|
||||
write(iout_,*) ' Operator complexity: ',prec%get_complexity()
|
||||
write(iout_,*) ' Average coarsening : ',prec%get_avg_cr()
|
||||
ilmin = 2
|
||||
if (nlev == 2) ilmin=1
|
||||
do ilev=ilmin,nlev
|
||||
|
||||
@@ -444,6 +444,7 @@ subroutine mld_d_hierarchy_bld(a,desc_a,prec,info)
|
||||
iszv = size(prec%precv)
|
||||
|
||||
call prec%cmp_complexity()
|
||||
call prec%cmp_avg_cr()
|
||||
|
||||
if (debug_level >= psb_debug_outer_) &
|
||||
& write(debug_unit,*) me,' ',trim(name),&
|
||||
|
||||
@@ -172,6 +172,7 @@ subroutine mld_dfile_prec_descr(prec,iout,root)
|
||||
write(iout_,*) 'Multilevel hierarchy: '
|
||||
write(iout_,*) ' Number of levels : ',nlev
|
||||
write(iout_,*) ' Operator complexity: ',prec%get_complexity()
|
||||
write(iout_,*) ' Average coarsening : ',prec%get_avg_cr()
|
||||
ilmin = 2
|
||||
if (nlev == 2) ilmin=1
|
||||
do ilev=ilmin,nlev
|
||||
|
||||
@@ -444,6 +444,7 @@ subroutine mld_s_hierarchy_bld(a,desc_a,prec,info)
|
||||
iszv = size(prec%precv)
|
||||
|
||||
call prec%cmp_complexity()
|
||||
call prec%cmp_avg_cr()
|
||||
|
||||
if (debug_level >= psb_debug_outer_) &
|
||||
& write(debug_unit,*) me,' ',trim(name),&
|
||||
|
||||
@@ -172,6 +172,7 @@ subroutine mld_sfile_prec_descr(prec,iout,root)
|
||||
write(iout_,*) 'Multilevel hierarchy: '
|
||||
write(iout_,*) ' Number of levels : ',nlev
|
||||
write(iout_,*) ' Operator complexity: ',prec%get_complexity()
|
||||
write(iout_,*) ' Average coarsening : ',prec%get_avg_cr()
|
||||
ilmin = 2
|
||||
if (nlev == 2) ilmin=1
|
||||
do ilev=ilmin,nlev
|
||||
|
||||
@@ -444,6 +444,7 @@ subroutine mld_z_hierarchy_bld(a,desc_a,prec,info)
|
||||
iszv = size(prec%precv)
|
||||
|
||||
call prec%cmp_complexity()
|
||||
call prec%cmp_avg_cr()
|
||||
|
||||
if (debug_level >= psb_debug_outer_) &
|
||||
& write(debug_unit,*) me,' ',trim(name),&
|
||||
|
||||
@@ -172,6 +172,7 @@ subroutine mld_zfile_prec_descr(prec,iout,root)
|
||||
write(iout_,*) 'Multilevel hierarchy: '
|
||||
write(iout_,*) ' Number of levels : ',nlev
|
||||
write(iout_,*) ' Operator complexity: ',prec%get_complexity()
|
||||
write(iout_,*) ' Average coarsening : ',prec%get_avg_cr()
|
||||
ilmin = 2
|
||||
if (nlev == 2) ilmin=1
|
||||
do ilev=ilmin,nlev
|
||||
|
||||
Reference in New Issue
Block a user