Skip to content

Commit c15e4e0

Browse files
committed
Adds angstrom to bohr conversion factor
Adds the angstrom to bohr conversion factor. This conversion factor is required for the CREST adapter.
1 parent 71bc85d commit c15e4e0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

arc/constants.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cdef double pi, Na, kB, R, h, hbar, c, e, m_e, m_p, m_n, amu, a0, E_h, F, E_h_kJmol, bohr_to_angstrom
1+
cdef double pi, Na, kB, R, h, hbar, c, e, m_e, m_p, m_n, amu, a0, E_h, F, E_h_kJmol, bohr_to_angstrom, angstrom_to_bohr

arc/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
epsilon_0 = 8.8541878128
8080

8181
bohr_to_angstrom = 0.529177
82+
angstrom_to_bohr = 1.8897259886
8283

8384
# Cython does not automatically place module-level variables into the module
8485
# symbol table when in compiled mode, so we must do this manually so that we
@@ -102,4 +103,5 @@
102103
'F': F,
103104
'epsilon_0': epsilon_0,
104105
'bohr_to_angstrom': bohr_to_angstrom,
106+
'angstrom_to_bohr': angstrom_to_bohr,
105107
})

0 commit comments

Comments
 (0)