Extended Rigid Body Spring Network method for the simulation of brittle rocks