Package schrodinger :: Package application :: Package matsci :: Package nano :: Module tube :: Class NanoTubes
[hide private]
[frames] | no frames]

Class NanoTubes

object --+
         |
        NanoTubes

Main class for making nanotubes.

Instance Methods [hide private]
 
__init__(self, element1=constants.Constants.ELEMENT1, element2=constants.Constants.ELEMENT2, bondlength=constants.Constants.BONDLENGTH, no_double_bonds=constants.Constants.NO_DOUBLE_BONDS, nindex=constants.Constants.NINDEX, mindex=constants.Constants.MINDEX, ncells=constants.Constants.NCELLS, termfrag=constants.Constants.TERMFRAG, min_term_frags=constants.Constants.MIN_TERM_FRAGS, up_to_nindex=constants.Constants.UP_TO_NINDEX, up_to_mindex=constants.Constants.UP_TO_MINDEX, nwalls=constants.Constants.NWALLS, wallsep=constants.Constants.WALLSEP, logger=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
printJobParams(self, logger=None)
Print job parameters.
list of NanoTube
makeSingleWalledTubes(self, logger=None)
Make single-walled nanotubes.
 
printSingleWalledTubes(self, logger=None)
Formatted print of single-walled tubes.
list of MultiWalledNanoTube
makeMultiWalledTubes(self, logger=None)
Make multi-walled nanotubes.
 
printMultiWalledTubes(self, logger=None)
Formatted print of multi-walled tubes.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  MSGWIDTH = 50
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, element1=constants.Constants.ELEMENT1, element2=constants.Constants.ELEMENT2, bondlength=constants.Constants.BONDLENGTH, no_double_bonds=constants.Constants.NO_DOUBLE_BONDS, nindex=constants.Constants.NINDEX, mindex=constants.Constants.MINDEX, ncells=constants.Constants.NCELLS, termfrag=constants.Constants.TERMFRAG, min_term_frags=constants.Constants.MIN_TERM_FRAGS, up_to_nindex=constants.Constants.UP_TO_NINDEX, up_to_mindex=constants.Constants.UP_TO_MINDEX, nwalls=constants.Constants.NWALLS, wallsep=constants.Constants.WALLSEP, logger=None)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • element1 (str) - elemental symbol of the first atom
  • element2 (str) - elemental symbol of the second atom
  • bondlength (float) - bond length between the first and second atoms in Angstrom
  • no_double_bonds (bool) - disable the formation of double bonds
  • nindex (int) - first chiral index
  • mindex (int) - second chiral index
  • ncells (int) - number of unit cells
  • termfrag (str) - terminate the lattice with a given fragment
  • min_term_frags (bool) - minimize the geometry of terminating fragments
  • up_to_nindex (bool) - enumerate nanotube structures on the n-index
  • up_to_mindex (bool) - enumerate nanotube structures on the m-index
  • nwalls (int) - number of walls in a multi-wall nanotube
  • wallsep (float) - wall separation in Angstrom in a multi-wall nanotube
  • logger (logging.getLogger) - output logger
Overrides: object.__init__

printJobParams(self, logger=None)

 

Print job parameters.

Parameters:
  • logger (logging.getLogger) - output logger

makeSingleWalledTubes(self, logger=None)

 

Make single-walled nanotubes.

Parameters:
  • logger (logging.getLogger) - output logger
Returns: list of NanoTube
singletubes, contains all created single-walled tubes

printSingleWalledTubes(self, logger=None)

 

Formatted print of single-walled tubes.

Parameters:
  • logger (logging.getLogger) - output logger

makeMultiWalledTubes(self, logger=None)

 

Make multi-walled nanotubes.

Parameters:
  • logger (logging.getLogger) - output logger
Returns: list of MultiWalledNanoTube
multitubes, contains all created multi-walled tubes

printMultiWalledTubes(self, logger=None)

 

Formatted print of multi-walled tubes.

Parameters:
  • logger (logging.getLogger) - output logger