Solution of sample problems in classical thermoelasticity