Text this: A Return Mapping Algorithm for Nonlinear Yield Criteria with the Equivalent Mohr–Coulomb Strength Parameters