A dynamic polarization potential for heavy-ion scattering