Thermal shock analysis of one-dimensional generalized thermoelastic stress response in inhomogeneous materials | Synapse