public void changeTemperature(float percent) {
		if (percent < -1.0f)
			percent = -1.0f;
		if (!heatBathActivated()) {
			float temp1 = getKin() * UNIT_EV_OVER_KB;
			if (temp1 < ZERO)
				assignTemperature(100);
			rescaleVelocities((float) Math.sqrt(percent + 1));
		} else {
			heatBath.changeExpectedTemperature(percent);
			setTemperature(heatBath.getExpectedTemperature());
		}
	}