Computer Methods and Constitutive Modeling in Geomechanics