AmberPrmtopFile parses an AMBER prmtop file and constructs a Topology and (optionally) an OpenMM System from it.
More...
|
def | __init__ |
| Load a prmtop file.
|
|
def | createSystem |
| Construct an OpenMM System representing the topology described by this prmtop file.
|
|
|
| topology |
| The Topology read from the prmtop file.
|
|
AmberPrmtopFile parses an AMBER prmtop file and constructs a Topology and (optionally) an OpenMM System from it.
def __init__ |
( |
|
self, |
|
|
|
file |
|
) |
| |
def createSystem |
( |
|
self, |
|
|
|
nonbondedMethod = ff.NoCutoff , |
|
|
|
nonbondedCutoff = 1.0*unit.nanometer , |
|
|
|
constraints = None , |
|
|
|
rigidWater = True , |
|
|
|
implicitSolvent = None , |
|
|
|
soluteDielectric = 1.0 , |
|
|
|
solventDielectric = 78.5 , |
|
|
|
removeCMMotion = True , |
|
|
|
ewaldErrorTolerance = 0.0005 |
|
) |
| |
Construct an OpenMM System representing the topology described by this prmtop file.
- Parameters
-
nonbondedMethod | (object=NoCutoff) The method to use for nonbonded interactions. Allowed values are NoCutoff, CutoffNonPeriodic, CutoffPeriodic, Ewald, or PME. |
nonbondedCutoff | (distance=1*nanometer) The cutoff distance to use for nonbonded interactions |
constraints | (object=None) Specifies which bonds angles should be implemented with constraints. Allowed values are None, HBonds, AllBonds, or HAngles. |
rigidWater | (boolean=True) If true, water molecules will be fully rigid regardless of the value passed for the constraints argument |
implicitSolvent | (object=None) If not None, the implicit solvent model to use. Allowed values are HCT, OBC1, OBC2, or GBn. |
soluteDielectric | (float=1.0) The solute dielectric constant to use in the implicit solvent model. |
solventDielectric | (float=78.5) The solvent dielectric constant to use in the implicit solvent model. |
removeCMMotion | (boolean=True) If true, a CMMotionRemover will be added to the System |
ewaldErrorTolerance | (float=0.0005) The error tolerance to use if nonbondedMethod is Ewald or PME. |
- Returns
- the newly created System
The Topology read from the prmtop file.
The documentation for this class was generated from the following file: