Energy analysis and criteria for structural failure of rocks | Synapse