Cylinder-flat contact mechanics with surface roughness