DD2D simulations for measuring the variation of stresses along one or more slip planes