Synchrotron radiation XRD measurement of residual stress gradients in ceramic coatings