Stability analysis of stationary variational and hemivariational inequalities with applications. (December 2019)