Impact-driven shock waves and thermonuclear neutron generation