A modified Mazars damage model with energy regularization. (January 2022)