Modeling of rock failure based on a modified particle discontinuous deformation analysis | Synapse