Optical characterizations and thermal analyses of HfO2/SiO2 multilayered diffraction gratings for high-power continuous wave laser