Title: Theory of thermoelasticity with applications