Numerical methods for the strain-softening response of concrete in uniaxial compression