1# -*- coding: utf-8 -*- 2""" 3""" 4from __future__ import absolute_import 5 6from ._utils import _cd 7from ..unitquantity import UnitConstant 8 9 10amu = atomic_mass_constant = UnitConstant( 11 'atomic_mass_constant', 12 _cd('atomic mass constant'), 13 symbol='m_u', 14 u_symbol='mᵤ' 15) 16atomic_unit_of_1st_hyperpolarizability = UnitConstant( 17 'atomic_unit_of_1st_hyperpolarizability', 18 _cd('atomic unit of 1st hyperpolarizability'), 19 symbol='(e**3*a_0**3/E_h**2)', 20 u_symbol='(e³·a₀³/E_h²)' 21) 22atomic_unit_of_2nd_hyperpolarizability = UnitConstant( 23 'atomic_unit_of_2nd_hyperpolarizability', 24 _cd('atomic unit of 2nd hyperpolarizability'), 25 symbol='(e**4*a_0**4/E_h**3)', 26 u_symbol='(e⁴·a₀⁴/E_h³)' 27) 28hbar = atomic_unit_of_action = UnitConstant( 29 'atomic_unit_of_action', 30 _cd('atomic unit of action'), 31 symbol='hbar', 32 u_symbol='ħ' 33) 34atomic_unit_of_charge = UnitConstant( 35 'atomic_unit_of_charge', 36 _cd('atomic unit of charge'), 37 symbol='e' 38) 39atomic_unit_of_charge_density = UnitConstant( 40 'atomic_unit_of_charge_density', 41 _cd('atomic unit of charge density'), 42 symbol='(e/a_0**3)', 43 u_symbol='(e/a₀³)' 44) 45atomic_unit_of_current = UnitConstant( 46 'atomic_unit_of_current', 47 _cd('atomic unit of current'), 48 symbol='(e*E_h/hbar)', 49 u_symbol='(e·E_h/ħ)' 50) 51atomic_unit_of_electric_dipole_moment = UnitConstant( 52 'atomic_unit_of_electric_dipole_moment', 53 _cd('atomic unit of electric dipole moment'), 54 symbol='(e*a_0)', 55 u_symbol='(e·a₀)' 56) 57atomic_unit_of_electric_field = UnitConstant( 58 'atomic_unit_of_electric_field', 59 _cd('atomic unit of electric field'), 60 symbol='(E_h/(e*a_0))', 61 u_symbol='(E_h/(e·a₀))' 62) 63atomic_unit_of_electric_field_gradient = UnitConstant( 64 'atomic_unit_of_electric_field_gradient', 65 _cd('atomic unit of electric field gradient'), 66 symbol='(E_h/(e*a_0**2))', 67 u_symbol='(E_h/(e·a₀²))' 68) 69atomic_unit_of_electric_polarizability = UnitConstant( 70 'atomic_unit_of_electric_polarizability', 71 _cd('atomic unit of electric polarizability'), 72 symbol='(e**2*a_0**2/E_h)', 73 u_symbol='(e²·a₀²/E_h)' 74) 75atomic_unit_of_electric_potential = UnitConstant( 76 'atomic_unit_of_electric_potential', 77 _cd('atomic unit of electric potential'), 78 symbol='(E_h/e)' 79) 80atomic_unit_of_electric_quadrupole_moment = UnitConstant( 81 'atomic_unit_of_electric_quadrupole_moment', 82 _cd('atomic unit of electric quadrupole moment'), 83 symbol='(e*a_0**2)', 84 u_symbol='(e·a₀²)' 85) 86atomic_unit_of_energy = UnitConstant( 87 'atomic_unit_of_energy', 88 _cd('atomic unit of energy'), 89) 90atomic_unit_of_force = UnitConstant( 91 'atomic_unit_of_force', 92 _cd('atomic unit of force'), 93 symbol='(E_h/a_0)', 94 u_symbol='(E_h/a₀)' 95) 96a_0 = atomic_unit_of_length = UnitConstant( 97 'atomic_unit_of_length', 98 _cd('atomic unit of length'), 99 symbol='a_0', 100 u_symbol='a₀' 101) 102Bohr_radius = UnitConstant( 103 'Bohr_radius', 104 _cd('Bohr radius'), 105 symbol='a_0', 106 u_symbol='a₀' 107) 108atomic_unit_of_magnetic_dipole_moment = UnitConstant( 109 'atomic_unit_of_magnetic_dipole_moment', 110 _cd('atomic unit of magnetic dipole moment'), 111 symbol='(hbar*e/m_e)', 112 u_symbol='(ħ·e/mₑ)' 113) 114atomic_unit_of_magnetic_flux_density = UnitConstant( 115 'atomic_unit_of_magnetic_flux_density', 116 _cd('atomic unit of magnetic flux density'), 117 symbol='(hbar*e/a_0**2)', 118 u_symbol='(ħ·e/a₀²)' 119) 120atomic_unit_of_magnetizability = UnitConstant( 121 'atomic_unit_of_magnetizability', 122 _cd('atomic unit of magnetizability'), 123 symbol='(e**2a_0**2/m_e)', 124 u_symbol='(e²·a₀²/mₑ)' 125) 126m_e = atomic_unit_of_mass = UnitConstant( 127 'atomic_unit_of_mass', 128 _cd('atomic unit of mass'), 129 symbol='m_e', 130 u_symbol='mₑ' 131) 132atomic_unit_of_momentum = UnitConstant( 133 'atomic_unit_of_momentum', 134 _cd('atomic unit of momentum'), 135 symbol='(hbar/a_0)', 136 u_symbol='(ħ/a₀)' 137) 138atomic_unit_of_permittivity = UnitConstant( 139 'atomic_unit_of_permittivity', 140 _cd('atomic unit of permittivity'), 141 symbol='(e**2/(a_0*E_h))', 142 u_symbol='(e²/(a₀·E_h))' 143) 144atomic_unit_of_time = UnitConstant( 145 'atomic_unit_of_time', 146 _cd('atomic unit of time'), 147 symbol='(hbar/E_h)', 148 u_symbol='(ħ/E_h)' 149) 150atomic_unit_of_velocity = UnitConstant( 151 'atomic_unit_of_velocity', 152 _cd('atomic unit of velocity'), 153 symbol='(a_0*E_h/hbar)', 154 u_symbol='(a₀·E_h/ħ)' 155) 156E_h = Hartree_energy = UnitConstant( 157 'Hartree_energy', 158 _cd('Hartree energy'), 159 symbol='E_h' 160) 161u = unified_atomic_mass_unit = UnitConstant( 162 'unified_atomic_mass_unit', 163 _cd('unified atomic mass unit'), 164 symbol='u' 165) 166molar_mass_of_carbon_12 = UnitConstant( 167 'molar_mass_of_carbon_12', 168 _cd('molar mass of carbon-12'), 169 symbol='M_C12', 170 u_symbol='M_¹²C' 171) 172 173atomic_mass_constant_energy_equivalent = UnitConstant( 174 'atomic_mass_constant_energy_equivalent', 175 _cd('atomic mass constant energy equivalent'), 176 symbol='(m_u*c**2)', 177 u_symbol='(mᵤ·c²)' 178) 179atomic_mass_constant_energy_equivalent_in_MeV = UnitConstant( 180 'atomic_mass_constant_energy_equivalent_in_MeV', 181 _cd('atomic mass constant energy equivalent in MeV') 182) 183Hartree_energy_in_eV = UnitConstant( 184 'Hartree_energy_in_eV', 185 _cd('Hartree energy in eV') 186) 187 188atomic_mass_unit_electron_volt_relationship = UnitConstant( 189 'atomic_mass_unit_electron_volt_relationship', 190 _cd('atomic mass unit-electron volt relationship'), 191) 192atomic_mass_unit_hartree_relationship = UnitConstant( 193 'atomic_mass_unit_hartree_relationship', 194 _cd('atomic mass unit-hartree relationship') 195) 196atomic_mass_unit_hertz_relationship = UnitConstant( 197 'atomic_mass_unit_hertz_relationship', 198 _cd('atomic mass unit-hertz relationship') 199) 200atomic_mass_unit_inverse_meter_relationship = UnitConstant( 201 'atomic_mass_unit_inverse_meter_relationship', 202 _cd('atomic mass unit-inverse meter relationship') 203) 204atomic_mass_unit_joule_relationship = UnitConstant( 205 'atomic_mass_unit_joule_relationship', 206 _cd('atomic mass unit-joule relationship'), 207 symbol='(u*c**2)', 208 u_symbol='(u·c²)' 209) 210atomic_mass_unit_kelvin_relationship = UnitConstant( 211 'atomic_mass_unit_kelvin_relationship', 212 _cd('atomic mass unit-kelvin relationship') 213) 214atomic_mass_unit_kilogram_relationship = UnitConstant( 215 'atomic_mass_unit_kilogram_relationship', 216 _cd('atomic mass unit-kilogram relationship') 217) 218 219hartree_atomic_mass_unit_relationship = UnitConstant( 220 'hartree_atomic_mass_unit_relationship', 221 _cd('hartree-atomic mass unit relationship') 222) 223hartree_electron_volt_relationship = UnitConstant( 224 'hartree_electron_volt_relationship', 225 _cd('hartree-electron volt relationship') 226) 227hartree_hertz_relationship = UnitConstant( 228 'hartree_hertz_relationship', 229 _cd('hartree-hertz relationship') 230) 231hartree_inverse_meter_relationship = UnitConstant( 232 'hartree_inverse_meter_relationship', 233 _cd('hartree-inverse meter relationship') 234) 235hartree_joule_relationship = UnitConstant( 236 'hartree_joule_relationship', 237 _cd('hartree-joule relationship') 238) 239hartree_kelvin_relationship = UnitConstant( 240 'hartree_kelvin_relationship', 241 _cd('hartree-kelvin relationship') 242) 243hartree_kilogram_relationship = UnitConstant( 244 'hartree_kilogram_relationship', 245 _cd('hartree-kilogram relationship') 246) 247hertz_atomic_mass_unit_relationship = UnitConstant( 248 'hertz_atomic_mass_unit_relationship', 249 _cd('hertz-atomic mass unit relationship') 250) 251hertz_hartree_relationship = UnitConstant( 252 'hertz_hartree_relationship', 253 _cd('hertz-hartree relationship') 254) 255inverse_meter_atomic_mass_unit_relationship = UnitConstant( 256 'inverse_meter_atomic_mass_unit_relationship', 257 _cd('inverse meter-atomic mass unit relationship') 258) 259inverse_meter_hartree_relationship = UnitConstant( 260 'inverse_meter_hartree_relationship', 261 _cd('inverse meter-hartree relationship') 262) 263joule_atomic_mass_unit_relationship = UnitConstant( 264 'joule_atomic_mass_unit_relationship', 265 _cd('joule-atomic mass unit relationship') 266) 267joule_hartree_relationship = UnitConstant( 268 'joule_hartree_relationship', 269 _cd('joule-hartree relationship') 270) 271kelvin_atomic_mass_unit_relationship = UnitConstant( 272 'kelvin_atomic_mass_unit_relationship', 273 _cd('kelvin-atomic mass unit relationship') 274) 275kelvin_hartree_relationship = UnitConstant( 276 'kelvin_hartree_relationship', 277 _cd('kelvin-hartree relationship') 278) 279kilogram_atomic_mass_unit_relationship = UnitConstant( 280 'kilogram_atomic_mass_unit_relationship', 281 _cd('kilogram-atomic mass unit relationship') 282) 283kilogram_hartree_relationship = UnitConstant( 284 'kilogram_hartree_relationship', 285 _cd('kilogram-hartree relationship') 286) 287 288del UnitConstant, _cd 289