Skip to content

Commit

Permalink
Add additional units required by the analyzer.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Dec 11, 2024
1 parent abc1cd7 commit 5841ccb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions emle/_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@

import ase as _ase

_ANGSTROM_TO_BOHR = 1.0 / _ase.units.Bohr
_NANOMETER_TO_BOHR = 10.0 / _ase.units.Bohr
_BOHR_TO_ANGSTROM = _ase.units.Bohr
_EV_TO_HARTREE = 1.0 / _ase.units.Hartree
_KCAL_MOL_TO_HARTREE = 1.0 / _ase.units.Hartree * _ase.units.kcal / _ase.units.mol
_HARTREE_TO_KCAL_MOL = _ase.units.Hartree / _ase.units.kcal * _ase.units.mol
_HARTREE_TO_KJ_MOL = _ase.units.Hartree / _ase.units.kJ * _ase.units.mol
_NANOMETER_TO_ANGSTROM = 10.0

0 comments on commit 5841ccb

Please sign in to comment.