Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ Chronological list of authors
- Sai Udayagiri
- Apoorva Verma
- Aryaman Chaudhri
- Francesco Siciliani

External code
-------------
Expand Down
5 changes: 4 additions & 1 deletion package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ The rules for this file:
spyke7, talagayev, tanii1125, BradyAJohnston, hejamu, jeremyleung521,
harshitgajjela-droid, kunjsinha, aygarwal, jauy123, Dreamstick9,
ollyfutur, Amarendra22, charity-g, ParthUppal523, apoorva-01, RMeli,
raulloiscuns, Aryaman-Chaudhri
raulloiscuns, Aryaman-Chaudhri, sici17

* 2.11.0

Fixes
* Mass (u) has been added to MDAnalysis base units and
clarified that physical constants use CODATA 2010 values
(Issue #3944, PR #5439)
Comment thread
orbeckst marked this conversation as resolved.
Outdated
* Added `.gitattributes` to enforce LF (\n) as line endings and renormalized
existing files to conform (Issue #5315, PR #5446)
* `AtomGroup.rotate()` and the `rotateby` trajectory transformation now
Expand Down
8 changes: 8 additions & 0 deletions package/MDAnalysis/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,15 @@
charge :math:`e` :math:`1.602176565 \times 10^{-19}` As
force kJ/(mol·Å) :math:`1.66053892103219 \times 10^{-11}` J/m
speed Å/ps :math:`100` m/s
mass u :math:`1.66053892103219 \times 10^{-27}` kg
=========== ============== ===============================================

Comment thread
orbeckst marked this conversation as resolved.
MDAnalysis currently uses the NIST `CODATA 2010`_ values for physical constants.

.. _`CODATA 2010`:
https://physics.nist.gov/cuu/Constants/ArchiveASCII/allascii_2010.txt


Implementation notes
--------------------

Expand Down Expand Up @@ -407,6 +414,7 @@ def __getitem__(self, key):
"charge": "e",
"force": "kJ/(mol*A)",
"speed": "A/ps",
"mass": "u",
}


Expand Down
1 change: 1 addition & 0 deletions testsuite/MDAnalysisTests/utils/test_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def ref():
"charge": "e",
"force": "kJ/(mol*A)",
"speed": "A/ps",
"mass": "u",
}
return ref

Expand Down
Loading