sknano.generators.FullereneGenerator

class sknano.generators.FullereneGenerator(*args, *, autogen=True, **kwargs)[source][source]

Fullerene structure generator class.

Examples

First, load the FullereneGenerator class.

>>> from sknano.generators import FullereneGenerator
>>> fg = FullereneGenerator(N=60)
>>> fg.save(fname='C60.data')

Attributes

N
atoms Structure StructureAtoms.
basis Structure BasisAtoms.
crystal_cell Structure CrystalCell.
fmtstr Format string.
lattice Structure Crystal3DLattice.
scaling_matrix CrystalCell.scaling_matrix.
structure Pointer to self.
structure_data Alias for BaseStructureMixin.structure.
unit_cell Structure UnitCell.

Methods

clear() Clear list of BaseStructureMixin.atoms.
generate() Generate structure data.
generate_fname(N)
make_supercell(scaling_matrix[, wrap_coords]) Make supercell.
read_data(*args, **kwargs)
read_dump(*args, **kwargs)
read_xyz(*args, **kwargs)
rotate(**kwargs) Rotate crystal cell lattice, basis, and unit cell.
save([fname, outpath, structure_format, ...]) Save structure data.
todict()
transform_lattice(scaling_matrix[, ...])
translate(t[, fix_anchor_points]) Translate crystal cell basis.
write_data(**kwargs)
write_dump(**kwargs)
write_xyz(**kwargs)