Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
21f5df1c
Commit
21f5df1c
authored
Feb 21, 2017
by
peastman
Committed by
GitHub
Feb 21, 2017
Browse files
Merge pull request #1657 from rmcgibbo/rmcgibbo-patch-2
Add Bohrs to units
parents
9963e51a
04e61cd9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
wrappers/python/simtk/unit/unit_definitions.py
wrappers/python/simtk/unit/unit_definitions.py
+2
-0
No files found.
wrappers/python/simtk/unit/unit_definitions.py
View file @
21f5df1c
...
...
@@ -79,6 +79,8 @@ yard = yards = Unit({yard_base_unit: 1.0})
furlongs
=
furlong
=
yard
.
create_unit
(
scale
=
220.0
,
name
=
"furlong"
,
symbol
=
"furlong"
)
miles
=
mile
=
furlong
.
create_unit
(
scale
=
8.0
,
name
=
"mile"
,
symbol
=
"mi"
)
bohrs
=
bohr
=
angstrom
.
create_unit
(
scale
=
0.52917721067
,
name
=
'bohr'
,
symbol
=
'r_0'
)
############
### MASS ###
############
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment