openmmtools.testsystems.FiveSiteWaterBox

class openmmtools.testsystems.FiveSiteWaterBox(*args, **kwargs)[source]

Five-site water box (TIP5P).

Attributes:
analytical_properties

A list of available analytical properties, accessible via ‘get_propertyname(thermodynamic_state)’ calls.

mdtraj_topology

The mdtraj.Topology object corresponding to the test system (read-only).

name

The name of the test system.

positions

The openmm.unit.Quantity object containing the particle positions, with units compatible with openmm.unit.nanometers.

system

The openmm.System object corresponding to the test system.

topology

The 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 water box test systemm using a five-site water model (TIP5P).

Parameters are inherited from WaterBox (except for ‘model’).

Examples

Create a default waterbox.

>>> waterbox = FiveSiteWaterBox()
>>> [system, positions] = [waterbox.system, waterbox.positions]

Control the cutoff.

>>> waterbox = FiveSiteWaterBox(box_edge=3.0*unit.nanometers, cutoff=1.0*unit.nanometers)

Methods

__init__(*args, **kwargs)

Create a water box test systemm using a five-site water model (TIP5P).

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_properties

A list of available analytical properties, accessible via 'get_propertyname(thermodynamic_state)' calls.

mdtraj_topology

The mdtraj.Topology object corresponding to the test system (read-only).

name

The name of the test system.

positions

The openmm.unit.Quantity object containing the particle positions, with units compatible with openmm.unit.nanometers.

system

The openmm.System object corresponding to the test system.

topology

The openmm.app.Topology object corresponding to the test system.