Module for advanced configuration and tuning parameters
Configuration type for NAFPack
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=dp), | public | :: | pivot_tolerance | = | 1.0e-14_dp | ||
real(kind=dp), | public | :: | convergence_tolerance | = | 1.0e-12_dp | ||
real(kind=dp), | public | :: | residual_tolerance | = | 1.0e-10_dp | ||
integer, | public | :: | max_iterations | = | 10000 | ||
integer, | public | :: | block_size | = | 64 | ||
logical, | public | :: | use_openmp | = | .TRUE. | ||
logical, | public | :: | use_blas | = | .TRUE. | ||
logical, | public | :: | preallocate_workspace | = | .TRUE. | ||
integer, | public | :: | workspace_size | = | 1000 | ||
logical, | public | :: | enable_debug | = | .FALSE. | ||
logical, | public | :: | enable_timing | = | .FALSE. | ||
character(len=100), | public | :: | log_file | = | "nafpack.log" | ||
character(len=50), | public | :: | default_direct_method | = | "A_LU" | ||
character(len=50), | public | :: | default_iterative_method | = | "Gauss_Seidel" | ||
character(len=50), | public | :: | default_preconditioner | = | "ILU" |
Validate configuration parameters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(in) | :: | config | |||
logical, | intent(out) | :: | is_valid | |||
character(len=*), | intent(out) | :: | error_msg |