Rotation numbers, boundary forces and gap labelling