Numerical study of the sputtering in a dc magnetron