This file contains the parts of the local residual to calculate the heat conservation in the thermal non-equilibrium model.