Work functions in hypo-elasticity