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
f6c08a06
Commit
f6c08a06
authored
Nov 15, 2011
by
Peter Eastman
Browse files
Name for Coulomb unit was defined incorrectly
parent
74e0ee22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/unit/unit_definitions.py
wrappers/python/simtk/unit/unit_definitions.py
+1
-1
No files found.
wrappers/python/simtk/unit/unit_definitions.py
View file @
f6c08a06
...
@@ -111,7 +111,7 @@ planck_temperature_base_unit.define_conversion_factor_to(kelvin_base_unit, 1.416
...
@@ -111,7 +111,7 @@ planck_temperature_base_unit.define_conversion_factor_to(kelvin_base_unit, 1.416
elementary_charge_base_unit
=
BaseUnit
(
charge_dimension
,
"elementary charge"
,
"e"
)
elementary_charge_base_unit
=
BaseUnit
(
charge_dimension
,
"elementary charge"
,
"e"
)
elementary_charges
=
elementary_charge
=
Unit
({
elementary_charge_base_unit
:
1.0
})
elementary_charges
=
elementary_charge
=
Unit
({
elementary_charge_base_unit
:
1.0
})
coulomb_base_unit
=
BaseUnit
(
charge_dimension
,
"
elementary charge
"
,
"C"
)
coulomb_base_unit
=
BaseUnit
(
charge_dimension
,
"
coulomb
"
,
"C"
)
# Exact conversion factor
# Exact conversion factor
coulomb_base_unit
.
define_conversion_factor_to
(
elementary_charge_base_unit
,
6.24150962915265e18
)
coulomb_base_unit
.
define_conversion_factor_to
(
elementary_charge_base_unit
,
6.24150962915265e18
)
coulombs
=
coulomb
=
Unit
({
coulomb_base_unit
:
1.0
})
coulombs
=
coulomb
=
Unit
({
coulomb_base_unit
:
1.0
})
...
...
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