Method to derive stacking fault energies from the interaction of multribbons with domain boundaries