def METHOD_NAME(self, **kwargs):
    """
    Set the integration method to a modified velocity Verlet designed for
    simulations in the NpT ensemble (:class:`VelocityVerletIsotropicNPT`).
    """
    self.integrator = VelocityVerletIsotropicNPT(**kwargs)