A Quasicontinuum Method for Deformations of Carbon Nanotubes