Theoretical examination of the trapping of ion-implanted hydrogen in metals.