public void changeTemperature(double percent) {
		if (percent < -1.0)
			percent = -1.0;
		if (!heatBathActivated()) {
			double temp1 = getKE() * UNIT_EV_OVER_KB;
			if (temp1 < ZERO)
				assignTemperature(100.0);
			rescaleVelocities(Math.sqrt(percent + 1.0));
		} else {
			heatBath.changeExpectedTemperature(percent);
			setTemperature(heatBath.getExpectedTemperature());
		}
	}