Parameters for factory routine, with defaults
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=16), | public | :: | dirsolver_type | = | 'MKL' |
Library used for direct solver (MKL, CUSPARSE) |
|
| character(len=16), | public | :: | smoother_type | = | 'GSRB' |
Algorithm for smoother within multigrid (JAC, GS, GSRB) |
|
| real(kind=FP), | public | :: | rtol | = | 1.0E-8_FP |
Relative tolerance on residuum res := ||Ax - b|| / (||b|| + restol_zero) < rtol |
|
| real(kind=FP), | public | :: | restol_zero | = | FP_EPS |
Tolerance for zero of right hand side in residuum computation |
|
| integer, | public | :: | gmres_maxiter | = | 15 |
Maximum number of GMRES iterations |
|
| integer, | public | :: | gmres_nrestart | = | 15 |
Number of iterations after which restart of GMRES is done |
|
| character(len=1), | public | :: | mgrid_cycletype | = | 'V' |
V or W cycle |
|
| integer, | public | :: | mgrid_npresmooth | = | 5 |
Number of pre-smoothing steps |
|
| integer, | public | :: | mgrid_npostsmooth | = | 5 |
Number of post-smoothing steps |
|
| integer, | public | :: | dbgout | = | 0 |
Debug output level |
Displays parameters
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(parameters_helmholtz_solver_factory) | :: | self |