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
66b697f4
Commit
66b697f4
authored
Mar 31, 2020
by
peastman
Browse files
Increased default mass for Drude particles
parent
2ca67c5c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
wrappers/python/simtk/openmm/app/charmmpsffile.py
wrappers/python/simtk/openmm/app/charmmpsffile.py
+2
-2
wrappers/python/simtk/openmm/app/forcefield.py
wrappers/python/simtk/openmm/app/forcefield.py
+2
-2
No files found.
wrappers/python/simtk/openmm/app/charmmpsffile.py
View file @
66b697f4
...
@@ -805,7 +805,7 @@ class CharmmPsfFile(object):
...
@@ -805,7 +805,7 @@ class CharmmPsfFile(object):
flexibleConstraints
=
True
,
flexibleConstraints
=
True
,
verbose
=
False
,
verbose
=
False
,
gbsaModel
=
None
,
gbsaModel
=
None
,
drudeMass
=
0.
1
*
u
.
amu
):
drudeMass
=
0.
4
*
u
.
amu
):
"""Construct an OpenMM System representing the topology described by the
"""Construct an OpenMM System representing the topology described by the
prmtop file. You MUST have loaded a parameter set into this PSF before
prmtop file. You MUST have loaded a parameter set into this PSF before
calling createSystem. If not, AttributeError will be raised. ValueError
calling createSystem. If not, AttributeError will be raised. ValueError
...
@@ -863,7 +863,7 @@ class CharmmPsfFile(object):
...
@@ -863,7 +863,7 @@ class CharmmPsfFile(object):
gbsaModel : str=None
gbsaModel : str=None
Can be ACE (to use the ACE solvation model) or None. Other values
Can be ACE (to use the ACE solvation model) or None. Other values
raise a ValueError
raise a ValueError
drudeMass : mass=0.
1
*amu
drudeMass : mass=0.
4
*amu
The mass to use for Drude particles. Any mass added to a Drude particle is
The mass to use for Drude particles. Any mass added to a Drude particle is
subtracted from its parent atom to keep their total mass the same.
subtracted from its parent atom to keep their total mass the same.
"""
"""
...
...
wrappers/python/simtk/openmm/app/forcefield.py
View file @
66b697f4
...
@@ -1082,7 +1082,7 @@ class ForceField(object):
...
@@ -1082,7 +1082,7 @@ class ForceField(object):
def
createSystem
(
self
,
topology
,
nonbondedMethod
=
NoCutoff
,
nonbondedCutoff
=
1.0
*
unit
.
nanometer
,
def
createSystem
(
self
,
topology
,
nonbondedMethod
=
NoCutoff
,
nonbondedCutoff
=
1.0
*
unit
.
nanometer
,
constraints
=
None
,
rigidWater
=
None
,
removeCMMotion
=
True
,
hydrogenMass
=
None
,
residueTemplates
=
dict
(),
constraints
=
None
,
rigidWater
=
None
,
removeCMMotion
=
True
,
hydrogenMass
=
None
,
residueTemplates
=
dict
(),
ignoreExternalBonds
=
False
,
switchDistance
=
None
,
flexibleConstraints
=
False
,
drudeMass
=
0.
1
*
unit
.
amu
,
**
args
):
ignoreExternalBonds
=
False
,
switchDistance
=
None
,
flexibleConstraints
=
False
,
drudeMass
=
0.
4
*
unit
.
amu
,
**
args
):
"""Construct an OpenMM System representing a Topology with this force field.
"""Construct an OpenMM System representing a Topology with this force field.
Parameters
Parameters
...
@@ -1124,7 +1124,7 @@ class ForceField(object):
...
@@ -1124,7 +1124,7 @@ class ForceField(object):
Lennard-Jones interactions. If this is None, no switching function will be used.
Lennard-Jones interactions. If this is None, no switching function will be used.
flexibleConstraints : boolean=False
flexibleConstraints : boolean=False
If True, parameters for constrained degrees of freedom will be added to the System
If True, parameters for constrained degrees of freedom will be added to the System
drudeMass : mass=0.
1
*amu
drudeMass : mass=0.
4
*amu
The mass to use for Drude particles. Any mass added to a Drude particle is
The mass to use for Drude particles. Any mass added to a Drude particle is
subtracted from its parent atom to keep their total mass the same.
subtracted from its parent atom to keep their total mass the same.
args
args
...
...
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