*/
	public float getKin() {
		if (iAtom < 0)
			return 0;
		float e = 0;
		int count = 0;
		Atom a = null;
		synchronized (forceCalculator) {
			for (int i = 0; i < iAtom; i++) {
				a = atom[i];
				if (!a.isMovable())
					continue;
				e += (a.vx * a.vx + a.vy * a.vy + a.vz * a.vz) * a.mass;
				count++;
			}
		}
		if (count == 0)
			return 0;
		/*
		 * the prefactor 0.5 doesn't show up here because of mass unit conversion.
		 */
		return e * EV_CONVERTER / count;
	}