exact method for prescribed displacements