public void transferHeatToParticles(List list, double amount) {
		if (list == null || list.isEmpty())
			return;
		double k0 = getKEOfParticles(list);
		if (k0 < ZERO)
			assignTemperature(list, 1);
		Atom a = null;
		Object o = null;
		for (Iterator it = list.iterator(); it.hasNext();) {
			o = it.next();
			if (o instanceof Atom) {
				a = (Atom) o;
				k0 = EV_CONVERTER * a.mass * (a.vx * a.vx + a.vy * a.vy);
				if (k0 <= ZERO)
					k0 = ZERO;
				k0 = (k0 + amount) / k0;
				if (k0 <= ZERO)
					k0 = ZERO;
				k0 = Math.sqrt(k0);
				a.vx *= k0;
				a.vy *= k0;
			}
		}
	}