Application of the time-dependent Hartree grid method to inelastic molecular scattering problems