Contains compile-time limits and default values for the metalquicha program. These are tunable parameter that control memory allocation and algorithm behavior.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=dp), | public, | parameter | :: | DEFAULT_FD_DISPLACEMENT | = | 0.005_dp |
Default step size for finite difference calculations (Bohr) ~0.005 Bohr = ~0.0026 Angstrom, suitable for Hessian/gradient FD |
| character(len=*), | public, | parameter | :: | JSON_REAL_FORMAT | = | 'ES' |
JSON output format for real numbers (scientific notation) Valid values: ‘G’, ‘E’, ‘EN’, ‘ES’ (json-fortran uses machine precision) |
| integer, | public, | parameter | :: | MAX_ELEMENT_SYMBOL_LEN | = | 4 |
Maximum length for element symbols (e.g., “He”, “Uue”) |
| integer, | public, | parameter | :: | MAX_LINE_LENGTH | = | 1024 |
Maximum length for input file lines |
| integer, | public, | parameter | :: | MAX_MBE_LEVEL | = | 10 |
Maximum MBE truncation order (1-body, 2-body, …, N-body) Higher orders require factorial growth in fragment combinations |
| real(kind=dp), | public, | parameter | :: | MIN_ATOM_DISTANCE | = | 0.01_dp |
Minimum allowed distance between atoms (Bohr) Atoms closer than this are considered overlapping (error condition) |