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
32813478
"vscode:/vscode.git/clone" did not exist on "e8282ad5569de06439a6ea2298e749b497fc50a1"
Commit
32813478
authored
Nov 01, 2016
by
Robert T. McGibbon
Committed by
GitHub
Nov 01, 2016
Browse files
Add Bohrs to units
parent
4d32047c
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 @
32813478
...
@@ -79,6 +79,8 @@ yard = yards = Unit({yard_base_unit: 1.0})
...
@@ -79,6 +79,8 @@ yard = yards = Unit({yard_base_unit: 1.0})
furlongs
=
furlong
=
yard
.
create_unit
(
scale
=
220.0
,
name
=
"furlong"
,
symbol
=
"furlong"
)
furlongs
=
furlong
=
yard
.
create_unit
(
scale
=
220.0
,
name
=
"furlong"
,
symbol
=
"furlong"
)
miles
=
mile
=
furlong
.
create_unit
(
scale
=
8.0
,
name
=
"mile"
,
symbol
=
"mi"
)
miles
=
mile
=
furlong
.
create_unit
(
scale
=
8.0
,
name
=
"mile"
,
symbol
=
"mi"
)
bohrs
=
bohr
=
angstrom
.
create_unit
(
scale
=
0.52917720859
,
name
=
'bohr'
,
symbol
=
'r_0'
)
############
############
### MASS ###
### 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