Skip to content
Snippets Groups Projects
Commit 4434a469 authored by Berk Onat's avatar Berk Onat
Browse files

Added AKMA units to SmartParserDictionary

parent 418eed43
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,7 @@ def get_unitDict(keyname):
"bohr" : "5.29177249e-11",
"hartree" : "4.35974e-18",
"pascal" : "1.0",
"akmatime" : "0.048888e-12",
},
"amber" : {
"time" : "pico*second",
......@@ -87,6 +88,17 @@ def get_unitDict(keyname):
"force" : "kilo*joule/(mol*angstrom)",
"velocity" : "angstrom/(pico*second)",
},
#AKMA units: http://www.esi.umontreal.ca/accelrys/life/insight2000.1/charmm_principles/Ch01_intro.FM5.html
"akma" : {
"time" : "0.048888e-12*second",
"outputtime" : "pico*second",
"length" : "angstrom",
"energy" : "kcal/mol",
"charge" : "electron",
"mass" : "1.661e-27*kilo-gram",
"force" : "kcal/(mol*angstrom)",
"velocity" : "angstrom/akmatime",
},
}
if keyname:
resDict = unitDict[keyname]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment