Master configuration containing all method-specific configs
Usage: config%method_type = METHOD_TYPE_DFT config%basis_set = ‘cc-pvdz’ config%dft%functional = ‘pbe0’ config%dft%use_dispersion = .true.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=32), | public | :: | basis_set | = | 'sto-3g' |
Basis set name (HF, DFT, MCSCF) |
|
| type(cc_config_t), | public | :: | cc |
Coupled-cluster specific settings (CCSD, CCSD(T), etc.) |
|||
| type(correlation_config_t), | public | :: | corr |
Shared correlation settings (used by MP2, CC, etc.) |
|||
| type(dft_config_t), | public | :: | dft |
DFT-specific settings (functional, grid, dispersion) |
|||
| type(f12_config_t), | public | :: | f12 |
F12 explicitly correlated settings |
|||
| type(mcscf_config_t), | public | :: | mcscf |
MCSCF/CASSCF settings |
|||
| integer(kind=int32), | public | :: | method_type | = | METHOD_TYPE_UNKNOWN |
Method type constant |
|
| type(scf_config_t), | public | :: | scf |
Shared SCF settings (used by HF and DFT) |
|||
| logical, | public | :: | use_spherical | = | .true. |
Spherical vs Cartesian basis functions |
|
| logical, | public | :: | verbose | = | .false. |
Enable verbose output |
|
| type(xtb_config_t), | public | :: | xtb |
XTB settings (GFN1, GFN2) |
Log method-specific settings based on method type
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(method_config_t), | intent(in) | :: | this |
Reset all configuration values to defaults
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(method_config_t), | intent(inout) | :: | this |
type :: method_config_t !! Master configuration containing all method-specific configs !! !! Usage: !! config%method_type = METHOD_TYPE_DFT !! config%basis_set = 'cc-pvdz' !! config%dft%functional = 'pbe0' !! config%dft%use_dispersion = .true. !----- Common settings (all ab-initio methods) ----- integer(int32) :: method_type = METHOD_TYPE_UNKNOWN !! Method type constant logical :: verbose = .false. !! Enable verbose output character(len=32) :: basis_set = 'sto-3g' !! Basis set name (HF, DFT, MCSCF) logical :: use_spherical = .true. !! Spherical vs Cartesian basis functions !----- Shared configurations ----- type(scf_config_t) :: scf !! Shared SCF settings (used by HF and DFT) type(correlation_config_t) :: corr !! Shared correlation settings (used by MP2, CC, etc.) !----- Method-specific configurations ----- type(xtb_config_t) :: xtb !! XTB settings (GFN1, GFN2) type(dft_config_t) :: dft !! DFT-specific settings (functional, grid, dispersion) type(mcscf_config_t) :: mcscf !! MCSCF/CASSCF settings type(cc_config_t) :: cc !! Coupled-cluster specific settings (CCSD, CCSD(T), etc.) type(f12_config_t) :: f12 !! F12 explicitly correlated settings contains procedure :: reset => config_reset procedure :: log_settings => config_log_settings end type method_config_t