mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-06 22:55:12 +00:00
Fixed prec%init in examples/tests.
This commit is contained in:
@@ -193,7 +193,7 @@ program mld_cexample_1lev
|
||||
|
||||
! set RAS
|
||||
|
||||
call P%init('AS',info)
|
||||
call P%init(ictxt,'AS',info)
|
||||
|
||||
! set number of overlaps
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ program mld_cexample_ml
|
||||
! GS sweep as pre/post-smoother and UMFPACK as coarsest-level
|
||||
! solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
kmethod = 'CG'
|
||||
|
||||
case(2)
|
||||
|
||||
@@ -193,7 +193,7 @@ program mld_dexample_1lev
|
||||
|
||||
! set RAS
|
||||
|
||||
call P%init('AS',info)
|
||||
call P%init(ictxt,'AS',info)
|
||||
|
||||
! set number of overlaps
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ program mld_dexample_ml
|
||||
! GS sweep as pre/post-smoother and UMFPACK as coarsest-level
|
||||
! solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
kmethod = 'CG'
|
||||
|
||||
case(2)
|
||||
|
||||
@@ -193,7 +193,7 @@ program mld_sexample_1lev
|
||||
|
||||
! set RAS
|
||||
|
||||
call P%init('AS',info)
|
||||
call P%init(ictxt,'AS',info)
|
||||
|
||||
! set number of overlaps
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ program mld_sexample_ml
|
||||
! GS sweep as pre/post-smoother and UMFPACK as coarsest-level
|
||||
! solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
kmethod = 'CG'
|
||||
|
||||
case(2)
|
||||
|
||||
@@ -193,7 +193,7 @@ program mld_zexample_1lev
|
||||
|
||||
! set RAS
|
||||
|
||||
call P%init('AS',info)
|
||||
call P%init(ictxt,'AS',info)
|
||||
|
||||
! set number of overlaps
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ program mld_zexample_ml
|
||||
! GS sweep as pre/post-smoother and UMFPACK as coarsest-level
|
||||
! solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
kmethod = 'CG'
|
||||
|
||||
case(2)
|
||||
|
||||
@@ -140,7 +140,7 @@ program mld_dexample_1lev
|
||||
|
||||
! set RAS
|
||||
|
||||
call P%init('AS',info)
|
||||
call P%init(ictxt,'AS',info)
|
||||
|
||||
! set number of overlaps
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ program mld_dexample_ml
|
||||
! GS sweep as pre/post-smoother and UMFPACK as coarsest-level
|
||||
! solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
kmethod = 'CG'
|
||||
|
||||
case(2)
|
||||
@@ -177,7 +177,7 @@ program mld_dexample_ml
|
||||
! ILU(0) on the blocks) as pre- and post-smoother, and 8 block-Jacobi
|
||||
! sweeps (with ILU(0) on the blocks) as coarsest-level solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
call P%set('SMOOTHER_TYPE','BJAC',info)
|
||||
call P%set('COARSE_SOLVE','BJAC',info)
|
||||
call P%set('COARSE_SWEEPS',8,info)
|
||||
@@ -189,7 +189,7 @@ program mld_dexample_ml
|
||||
! GS sweeps as pre/post-smoother, a distributed coarsest
|
||||
! matrix, and MUMPS as coarsest-level solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
call P%set('ML_CYCLE','WCYCLE',info)
|
||||
call P%set('SMOOTHER_SWEEPS',2,info)
|
||||
call P%set('COARSE_SOLVE','MUMPS',info)
|
||||
|
||||
@@ -140,7 +140,7 @@ program mld_sexample_1lev
|
||||
|
||||
! set RAS
|
||||
|
||||
call P%init('AS',info)
|
||||
call P%init(ictxt,'AS',info)
|
||||
|
||||
! set number of overlaps
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ program mld_sexample_ml
|
||||
! GS sweep as pre/post-smoother and UMFPACK as coarsest-level
|
||||
! solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
kmethod = 'CG'
|
||||
|
||||
case(2)
|
||||
@@ -177,7 +177,7 @@ program mld_sexample_ml
|
||||
! ILU(0) on the blocks) as pre- and post-smoother, and 8 block-Jacobi
|
||||
! sweeps (with ILU(0) on the blocks) as coarsest-level solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
call P%set('SMOOTHER_TYPE','BJAC',info)
|
||||
call P%set('COARSE_SOLVE','BJAC',info)
|
||||
call P%set('COARSE_SWEEPS',8,info)
|
||||
@@ -189,7 +189,7 @@ program mld_sexample_ml
|
||||
! GS sweeps as pre/post-smoother, a distributed coarsest
|
||||
! matrix, and MUMPS as coarsest-level solver
|
||||
|
||||
call P%init('ML',info)
|
||||
call P%init(ictxt,'ML',info)
|
||||
call P%set('ML_CYCLE','WCYCLE',info)
|
||||
call P%set('SMOOTHER_SWEEPS',2,info)
|
||||
call P%set('COARSE_SOLVE','MUMPS',info)
|
||||
|
||||
Reference in New Issue
Block a user