Skip to content

Commit

Permalink
added Faraday's Constant F
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfarinajr authored and mjohnson541 committed Feb 28, 2022
1 parent ea72bf4 commit 4174c91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rmgpy/constants.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
# #
###############################################################################

cdef double pi, Na, kB, R, h, hbar, c, e, m_e, m_p, m_n, amu, a0, E_h
cdef double pi, Na, kB, R, h, hbar, c, e, m_e, m_p, m_n, amu, a0, E_h, F
4 changes: 4 additions & 0 deletions rmgpy/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@
#: :math:`\pi = 3.14159 \ldots`
pi = float(math.pi)

#: Faradays Constant F in C/mol
F = 96485.3321233100184

################################################################################

# Cython does not automatically place module-level variables into the module
Expand All @@ -130,4 +133,5 @@
'm_n': m_n,
'm_p': m_p,
'pi': pi,
'F': F
})

0 comments on commit 4174c91

Please sign in to comment.