An energy-based method for uniaxially compressed rocks and its implication | Synapse