Implementation and assessment of a two-scale computational framework for softening materials