Name
NanoTube
—
Function for generating a nano tube.
Synopsis
Namespace: NanoLanguage
NanoTube()
Description
x.__init__(...) initializes x; see help(type(x)) for signatur
Usage Examples
Define the geometry of a (3,0) Carbon Nanotube, and repeat it ten times along z-axis.
cnt = NanoTube(3,0)
cnt = cnt.repeat(1,1,10)
Notes
A NanoTube is of type BulkConfiguration, but with additional query methods for
extracting the properties of the nano tube.