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
471f760f
Commit
471f760f
authored
Feb 19, 2016
by
ChayaSt
Browse files
fixed docstring for creatFroce
parent
208d5240
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
wrappers/python/simtk/openmm/app/forcefield.py
wrappers/python/simtk/openmm/app/forcefield.py
+3
-10
No files found.
wrappers/python/simtk/openmm/app/forcefield.py
View file @
471f760f
...
...
@@ -1708,16 +1708,9 @@ class NBFixGenerator(object):
generator
.
registerNBFix
(
nbfix
.
attrib
)
def
createForce
(
self
,
sys
,
data
,
nonbondedMethod
,
nonbondedCutoff
,
args
):
"""
Parameters
----------
sys
data
nonbondedMethod: NonbondedMethod (e.g., NoCutoff, PME, etc)
The nonbonded method to apply here. Ewald and PME will be interpreted as CutoffPeriodic for the
CustomNonbondedForce
"""
# First check if there are at least two atoms in the system that need nbfix
""" Ewald and PME will be interpreted as CutoffPeriodic for the CustomNonbondedForce """
# First check if there are at least two atoms in the system that have nbfix
self
.
NBFIX
=
False
for
a
in
data
.
atoms
:
atype
=
data
.
atomType
[
a
]
...
...
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