yes, thats correct. the shockwave does absorb the heat.
mathematician, i dont think we should worry ourselves with that.:p i truly think it is 'beyond' the scope. at this stage, if we write that the heat caused in the re-entry of the space craft is due to friction, it will be correct.
but...