The linear sampling method and energy conservation