An analytical method to determine rock spallation temperature and degree of heterogeneity in thermal spallation drilling for geothermal energy. (January 2019)