The deformation of an elastic rod with a clamp sliding along a smooth and curved profile. (September 2015)