Theoretical and computational aspects of a thermodynamically consistent framework for geometrically linear gradient damage