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
09600365
"vscode:/vscode.git/clone" did not exist on "02adeefad3a42e0d297eb19999cde625eb006d76"
Commit
09600365
authored
Mar 29, 2020
by
Charlles Abreu
Browse files
Bug fix in grid expansion
parent
7132e1d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/openmm/app/metadynamics.py
wrappers/python/simtk/openmm/app/metadynamics.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/metadynamics.py
View file @
09600365
...
...
@@ -324,7 +324,7 @@ class WellTemperedMetadynamics(Metadynamics):
self
.
_saveIndex
=
0
for
v
in
variables
:
v
.
_expanded
=
v
.
periodic
and
len
(
variables
)
>
1
v
.
_extraWidth
=
min
(
gridExpansion
,
v
.
gridWidth
)
if
v
.
_expanded
else
0
v
.
_extraWidth
=
min
(
gridExpansion
,
v
.
gridWidth
-
1
)
if
v
.
_expanded
else
0
extraRange
=
v
.
_extraWidth
*
(
v
.
maxValue
-
v
.
minValue
)
/
(
v
.
gridWidth
-
1
)
v
.
_actualWidth
=
v
.
gridWidth
+
2
*
v
.
_extraWidth
v
.
_actualMin
=
v
.
minValue
-
extraRange
...
...
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