openmmtools.testsystems.FlexibleReactionFieldWaterBox¶
- class openmmtools.testsystems.FlexibleReactionFieldWaterBox(*args, **kwargs)[source]¶
Flexible water box using reaction field electrostatics.
- Attributes:
analytical_propertiesA list of available analytical properties, accessible via ‘get_propertyname(thermodynamic_state)’ calls.
mdtraj_topologyThe mdtraj.Topology object corresponding to the test system (read-only).
nameThe name of the test system.
positionsThe openmm.unit.Quantity object containing the particle positions, with units compatible with openmm.unit.nanometers.
systemThe openmm.System object corresponding to the test system.
topologyThe openmm.app.Topology object corresponding to the test system.
Methods
reduced_potential_expectation(...)Calculate the expected potential energy in state_sampled_from, divided by kB * T in state_evaluated_in.
serialize()Return the System and positions in serialized XML form.
- __init__(*args, **kwargs)[source]¶
Create a flexible water box using reaction field electrostatics.
Parameters are inherited from WaterBox (except for constrained or nonbondedMethod).
Examples
Create a default flexible waterbox.
>>> waterbox = FlexibleReactionFieldWaterBox() >>> [system, positions] = [waterbox.system, waterbox.positions]
Methods
__init__(*args, **kwargs)Create a flexible water box using reaction field electrostatics.
reduced_potential_expectation(...)Calculate the expected potential energy in state_sampled_from, divided by kB * T in state_evaluated_in.
serialize()Return the System and positions in serialized XML form.
Attributes
analytical_propertiesA list of available analytical properties, accessible via 'get_propertyname(thermodynamic_state)' calls.
mdtraj_topologyThe mdtraj.Topology object corresponding to the test system (read-only).
nameThe name of the test system.
positionsThe openmm.unit.Quantity object containing the particle positions, with units compatible with openmm.unit.nanometers.
systemThe openmm.System object corresponding to the test system.
topologyThe openmm.app.Topology object corresponding to the test system.