The gettering theory approach to the sticking of an atom on a metal surface