Modelling of non-uniform electrical potential barriers for metal surfaces with chemisorbed oxygen