Go to the source code of this file.
◆ _avogadro_number_codata2018
constexpr double _avogadro_number_codata2018 = 6.02214076e+23 |
|
constexpr |
◆ _boltzmann_codata2018
constexpr double _boltzmann_codata2018 = 1.380649e-23 |
|
constexpr |
◆ _e_over_k_codata2018
constexpr double _e_over_k_codata2018 |
|
constexpr |
Initial value:
constexpr double _boltzmann_codata2018
constexpr double _electron_charge_codata2018
NMODL translated MOD files get unit constants typically from share/lib/nrnunits.lib.
Definition at line 26 of file nrnunits.h.
◆ _electron_charge_codata2018
constexpr double _electron_charge_codata2018 = 1.602176634e-19 |
|
constexpr |
NMODL translated MOD files get unit constants typically from share/lib/nrnunits.lib.
But there were other source files that hardcode some of the constants. Here we gather a few modern units into a single place (but, unfortunately, also in nrnunits.lib).
These come from https://physics.nist.gov/cuu/Constants/index.html. Termed the "2018 CODATA recommended values", they became available on 20 May 2019 and replace the 2014 CODATA set.
See oc/hoc_init.c, nrnoc/eion.c, nrniv/kschan.h
Definition at line 17 of file nrnunits.h.
◆ _faraday_codata2018
constexpr double _faraday_codata2018 |
|
constexpr |
Initial value:
constexpr double _avogadro_number_codata2018
Definition at line 20 of file nrnunits.h.
◆ _gasconstant_codata2018
constexpr double _gasconstant_codata2018 |
|
constexpr |