Text this: Integration of Tresca and Mohr-Coulomb constitutive relations in plane strain elastoplasticity /