The calculation of shear stress and shear strain for double glide in tension and compression