openmmtools.testsystems.TolueneVacuum¶
- class openmmtools.testsystems.TolueneVacuum(constraints=HBonds, hydrogenMass=None, **kwargs)[source]¶
Toluene GAFF/AM1-BCC in vacuum.
- Parameters:
- constraintsoptional, default=openmm.app.HBonds
- hydrogenMassunit, optional, default=None
If set, will pass along a modified hydrogen mass for OpenMM to use mass repartitioning.
- 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.
Examples
Create toluene with constraints on bonds to hydrogen >>> testsystem = TolueneVacuum() >>> [system, positions, topology] = [testsystem.system, testsystem.positions, testsystem.topology]
- __init__(constraints=HBonds, hydrogenMass=None, **kwargs)[source]¶
Abstract base class for test system.
- Parameters:
Methods
__init__([constraints, hydrogenMass])Abstract base class for test system.
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.