Effects of grinding process on residual stresses in nanostructured ceramic coatings