Dense plasma heating and Gbar shock formation by a high intensity flux of energetic electrons