Contains fundamental physical constants and unit conversion factors used throughout the metalquicha codebase.
All values are in atomic units unless otherwise specified. Reference: CODATA 2018 recommended values where applicable.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=dp), | public, | parameter | :: | AMU_TO_AU | = | 1822.888_dp |
Atomic mass unit to atomic units of mass (electron masses) 1 amu = 1822.888 m_e |
| real(kind=dp), | public, | parameter | :: | AMU_TO_KG | = | 1.66053906660e-27_dp |
Atomic mass unit to kg (CODATA 2018) |
| real(kind=dp), | public, | parameter | :: | ANGSTROM_TO_BOHR | = | 1.0_dp/BOHR_TO_ANGSTROM |
Angstrom to Bohr conversion |
| real(kind=dp), | public, | parameter | :: | ATM_TO_AU | = | 3.39893097e-9_dp |
1 atm = 101325 Pa, 1 Bohr = 5.29177e-11 m, 1 Hartree = 4.3597e-18 J |
| real(kind=dp), | public, | parameter | :: | ATM_TO_PA | = | 101325.0_dp | |
| real(kind=dp), | public, | parameter | :: | AU_TO_AMU | = | 1.0_dp/AMU_TO_AU |
Atomic units of mass to amu |
| real(kind=dp), | public, | parameter | :: | AU_TO_CM1 | = | 2.642461e7_dp |
Conversion factor from atomic units (Hartree/Bohr^2/amu) to cm^-1 Derived from: sqrt(Hartree/(Bohr^2 * amu)) -> s^-1 -> cm^-1 |
| real(kind=dp), | public, | parameter | :: | AU_TO_DEBYE | = | 2.541746_dp |
Conversion from atomic units (eBohr) to Debye 1 ea0 = 2.541746 Debye |
| real(kind=dp), | public, | parameter | :: | AU_TO_KMMOL | = | 1.7770969e6_dp |
Conversion factor from atomic units of dipole derivatives to km/mol (IR intensity) From IUPAC: A = (pi * N_A * |d_mu/dQ|^2) / (3 * 4 * pi * epsilon_0 * c^2) Reference: IUPAC, Quantities, Units and Symbols in Physical Chemistry (1993) |
| real(kind=dp), | public, | parameter | :: | AU_TO_MDYNE_ANG | = | 15.569141_dp |
Conversion factor from atomic units (Hartree/Bohr^2) to mdyne/Angstrom 1 Hartree/Bohr^2 = 15.569141 mdyne/A |
| real(kind=dp), | public, | parameter | :: | AVOGADRO | = | 6.02214076e23_dp |
Avogadro’s number (for reference, not directly used in atomic unit calculations) |
| real(kind=dp), | public, | parameter | :: | BOHR_TO_ANGSTROM | = | 0.52917721092_dp |
Bohr radius in Angstrom (a0 = 0.529177… A) |
| real(kind=dp), | public, | parameter | :: | CAL_TO_J | = | 4.184_dp |
Calorie to Joule (thermochemical calorie) |
| real(kind=dp), | public, | parameter | :: | CM1_TO_KELVIN | = | 1.4387773538277_dp |
cm^-1 to Kelvin conversion factor: theta_vib = (hc/k_B) * nu This is hc/k_B in cm (multiply by frequency in cm^-1 to get K) |
| real(kind=dp), | public, | parameter | :: | C_CM_S | = | 2.99792458e10_dp |
Speed of light in cm/s |
| real(kind=dp), | public, | parameter | :: | DEBYE_TO_AU | = | 1.0_dp/AU_TO_DEBYE |
Conversion from Debye to atomic units |
| real(kind=dp), | public, | parameter | :: | HARTREE_TO_CALMOL | = | 627.5094740631_dp*1000.0_dp |
Hartree to cal/mol |
| real(kind=dp), | public, | parameter | :: | HARTREE_TO_EV | = | 27.211386245988_dp |
Hartree to eV |
| real(kind=dp), | public, | parameter | :: | HARTREE_TO_JMOL | = | 2625.4996394799_dp*1000.0_dp |
Hartree to J/mol |
| real(kind=dp), | public, | parameter | :: | HARTREE_TO_KCALMOL | = | 627.5094740631_dp |
Hartree to kcal/mol |
| real(kind=dp), | public, | parameter | :: | HARTREE_TO_KJMOL | = | 2625.4996394799_dp |
Hartree to kJ/mol |
| real(kind=dp), | public, | parameter | :: | H_HARTREE_S | = | 1.5198298460574e-16_dp |
Planck constant in Hartrees h = 6.62607015e-34 Js |
| real(kind=dp), | public, | parameter | :: | H_SI | = | 6.62607015e-34_dp |
Planck constant in J*s (CODATA 2018, exact) |
| real(kind=dp), | public, | parameter | :: | KB_HARTREE | = | 3.1668115634556e-6_dp |
Boltzmann constant in Hartree/K k_B = 1.380649e-23 J/K, 1 Hartree = 4.3597447222071e-18 J |
| real(kind=dp), | public, | parameter | :: | KB_SI | = | 1.380649e-23_dp |
Boltzmann constant in J/K (CODATA 2018, exact) |
| real(kind=dp), | public, | parameter | :: | PI | = | 3.14159265358979323846_dp |
Pi constant |
| real(kind=dp), | public, | parameter | :: | ROTCONST_AMUA2_TO_GHZ | = | 505379.07_dp |
Rotational constant conversion: amuAngstrom^2 to GHz B = h / (8pi^2I) where I is in SI units For I in amuAngstrom^2: B(GHz) = 505379.07 / I |
| real(kind=dp), | public, | parameter | :: | ROTTEMP_AMUA2_TO_K | = | 24.2637_dp |
Rotational temperature conversion: amuAngstrom^2 to Kelvin theta_rot = h^2 / (8pi^2Ik_B) For I in amu*Angstrom^2: theta_rot(K) = 24.2637 / I |
| real(kind=dp), | public, | parameter | :: | R_CALMOLK | = | 1.98720425864_dp |
Gas constant R in cal/(molK) for thermochemistry output R = 1.98720425864 cal/(molK) |
| real(kind=dp), | public, | parameter | :: | R_HARTREE | = | 3.1668115634556e-6_dp |
Gas constant R in Hartree/(mol*K) R = N_A * k_B |
| real(kind=dp), | public, | parameter | :: | VIB_CLASSICAL_LIMIT | = | 100.0_dp |
Classical limit for vibrational modes (u = theta_v/T) When u > this value, vibrational modes are considered frozen out |