private void assignTemperature(List<Atom> list, float temperature) {
		if (list == null || list.isEmpty())
			return;
		if (temperature < ZERO)
			temperature = ZERO;
		double rtemp = Math.sqrt(temperature) * VT_CONVERSION_CONSTANT;
		if (list.size() == 1) {
			list.get(0).setRandomVelocity((float) rtemp);
			return;
		}
		for (Atom a : list) {
			a.vx = (float) (rtemp * RANDOM.nextGaussian());
			a.vy = (float) (rtemp * RANDOM.nextGaussian());
			a.vz = (float) (rtemp * RANDOM.nextGaussian());
		}
	}