Non-uniform impact excitation of a cylindrical bar