Dynamic mechanical properties and deterioration of red-sandstone subjected to repeated thermal shocks