Bifurcation and localisation theory in Geomechanics