Thermal shock problem of a generalized thermoelastic layered composite material with variable thermal conductivity