Damping functions for the pairwise sum model of the atom–surface potential