Dislocation modelling of shear in f.c.c. crystals