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
6bdf834a
"platforms/cuda/include/CudaQueue.h" did not exist on "09a8475d84984fb9e97d5bbde5c82d12035c6e61"
Commit
6bdf834a
authored
Mar 14, 2017
by
jchodera
Browse files
Include numerical value of pi
parent
38ea6054
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
wrappers/python/simtk/openmm/app/charmmpsffile.py
wrappers/python/simtk/openmm/app/charmmpsffile.py
+1
-0
No files found.
wrappers/python/simtk/openmm/app/charmmpsffile.py
View file @
6bdf834a
...
...
@@ -910,6 +910,7 @@ class CharmmPsfFile(object):
energy_function
=
'k*dtheta_torus^2;'
energy_function
+=
'dtheta_torus = dtheta - floor(dtheta/(2*pi)+0.5)*(2*pi);'
energy_function
+=
'dtheta = theta - theta0;'
energy_function
+=
'pi = %f;'
%
pi
force
=
mm
.
CustomTorsionForce
(
energy_function
)
force
.
addPerTorsionParameter
(
'k'
)
force
.
addPerTorsionParameter
(
'theta0'
)
...
...
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