OpenMM
|
PDBReporter outputs a series of frames from a Simulation to a PDB file. More...
Public Member Functions | |
def | __init__ |
Create a PDBReporter. More... | |
def | describeNextReport |
Get information about the next report this object will generate. More... | |
def | report |
Generate a report. More... | |
def | __del__ |
PDBReporter outputs a series of frames from a Simulation to a PDB file.
To use it, create a PDBReporter, then add it to the Simulation's list of reporters.
def __init__ | ( | self, | |
file, | |||
reportInterval | |||
) |
Create a PDBReporter.
file | (string) The file to write to |
reportInterval | (int) The interval (in time steps) at which to write frames |
References PDBReporter._nextModel, PDBReporter._out, DCDReporter._out, CheckpointReporter._out, PDBReporter._reportInterval, DCDReporter._reportInterval, CheckpointReporter._reportInterval, PDBReporter._topology, DCDFile._topology, and CharmmPsfFile._topology.
def __del__ | ( | self | ) |
References PDBReporter._out, DCDReporter._out, CheckpointReporter._out, PDBReporter._topology, DCDFile._topology, and CharmmPsfFile._topology.
def describeNextReport | ( | self, | |
simulation | |||
) |
Get information about the next report this object will generate.
simulation | (Simulation) The Simulation to generate a report for |
References PDBReporter._reportInterval, DCDReporter._reportInterval, and CheckpointReporter._reportInterval.
def report | ( | self, | |
simulation, | |||
state | |||
) |
Generate a report.
simulation | (Simulation) The Simulation to generate a report for |
state | (State) The current state of the simulation |
References PDBReporter._nextModel, PDBReporter._out, DCDReporter._out, CheckpointReporter._out, PDBReporter._topology, DCDFile._topology, and CharmmPsfFile._topology.