For these reasons, the characterization of residual stresses is an important engineering consideration. Measurement of residual stresses is important both for directly knowing the stresses produced by various processes and for validating models of residual stress-producing processes. Diffraction methods are attractive for measuring residual stresses because they are nondestructive, precise, able to measure stresses both near the surface and in the interior of materials, and able to give the entire three-dimensional (3D) stress tensor.