Longitudinal temperature distribution in an end-pumped solid-state amplifier medium: application to a high average power diode pumped Yb:YAG thin disk amplifier.