Elastic behavior in contact dynamics of rigid particles.