Strain distribution analysis based on the digital material representation