SMS dit: Analysis of the quasicontinuum method