whether to store the forces acting on particles in the State
Get a State object recording the current state information stored in this context.
getEnergy : bool=False
whether to store potential and kinetic energy in the State
Parameters:
getParameter : bool=False
- getPositions (bool=False) whether to store particle positions in the State
whether to store context parameters in the State
- getVelocities (bool=False) whether to store particle velocities in the State
enforcePeriodicBox : bool=False
- getForces (bool=False) whether to store the forces acting on particles in the State
if false, the position of each particle will be whatever position
- getEnergy (bool=False) whether to store potential and kinetic energy in the State
is stored in the Context, regardless of periodic boundary conditions.
- getParameter (bool=False) whether to store context parameters in the State
If true, particle positions will be translated so the center of
- enforcePeriodicBox (bool=False) if false, the position of each particle will be whatever position is stored in the Context, regardless of periodic boundary conditions. If true, particle positions will be translated so the center of every molecule lies in the same periodic box.
every molecule lies in the same periodic box.
- groups (set={0,1,2,...,31}) a set of indices for which force groups
groups : set={0,1,2,...,31}
to include when computing forces and energies. The default value
a set of indices for which force groups to include when computing
includes all groups. groups can also be passed as an unsigned integer
forces and energies. The default value includes all groups. groups
interpreted as a bitmask, in which case group i will be included if
can also be passed as an unsigned integer interpreted as a bitmask,
(groups&(1<<i)) != 0.
in which case group i will be included if (groups&(1<<i)) != 0.
"""Get a State object recording the current state information about one copy of the system.
getState(self,
copy,
Parameters
getPositions = False,
----------
getVelocities = False,
copy : int
getForces = False,
the index of the copy for which to retrieve state information
getEnergy = False,
getPositions : bool=False
getParameters = False,
whether to store particle positions in the State
enforcePeriodicBox = False,
getVelocities : bool=False
groups = -1)
whether to store particle velocities in the State
-> State
getForces : bool=False
whether to store the forces acting on particles in the State
Get a State object recording the current state information about one copy of the system.
getEnergy : bool=False
whether to store potential and kinetic energy in the State
Parameters:
getParameter : bool=False
- copy (int) the index of the copy for which to retrieve state information
whether to store context parameters in the State
- getPositions (bool=False) whether to store particle positions in the State
enforcePeriodicBox : bool=False
- getVelocities (bool=False) whether to store particle velocities in the State
if false, the position of each particle will be whatever position
- getForces (bool=False) whether to store the forces acting on particles in the State
is stored in the Context, regardless of periodic boundary conditions.
- getEnergy (bool=False) whether to store potential and kinetic energy in the State
If true, particle positions will be translated so the center of
- getParameter (bool=False) whether to store context parameters in the State
every molecule lies in the same periodic box.
- enforcePeriodicBox (bool=False) if false, the position of each particle will be whatever position is stored in the Context, regardless of periodic boundary conditions. If true, particle positions will be translated so the center of every molecule lies in the same periodic box.
groups : set={0,1,2,...,31}
- groups (set={0,1,2,...,31}) a set of indices for which force groups
a set of indices for which force groups to include when computing
to include when computing forces and energies. The default value
forces and energies. The default value includes all groups. groups
includes all groups. groups can also be passed as an unsigned integer
can also be passed as an unsigned integer interpreted as a bitmask,
interpreted as a bitmask, in which case group i will be included if
in which case group i will be included if (groups&(1<<i)) != 0.