Any open source code to generate carbon nanotube cap?
Generation of open ends carbon nanotubes coordinates (atomic positions) is easy and the generation of cap for these carbon nanotubes is extremely difficult. Some of the half-fullerenes (C60, C240, C540…) fit as a cap for the armchair and zigzag nanotubes. NanotubeModeler (http://www.jcrystal.com/products/wincnt/index.htm) software generates the carbon nanotubes with cap but they are limited to few armchair and zigzag configurations.