__init__(self,
element1=' C ' ,
element2=' C ' ,
bondlength=1.418,
no_double_bonds=False,
nindex=6,
mindex=6,
ncells=1,
termfrag=' hydrogen ' ,
min_term_frags=False,
up_to_nindex=False,
up_to_mindex=False,
nwalls=1,
wallsep=3.35,
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__
|