build_cell(astructure,
terminatingatoms,
atomic_number1,
atomic_number2,
bondlength,
no_bonding_along=None)
|
|
Build the cell.
- Parameters:
astructure (schrodinger.structure.Structure) - the structure for which to build the cell
terminatingatoms (list) - the terminating atoms for which PBC bonds will be needed
atomic_number1 (int) - the atomic number of the first element
atomic_number2 (int) - the atomic number of the second element
bondlength (float) - the bond length
no_bonding_along (list or None) - contains the indices of the lattice vectors along which to not
form bonds, indices are 0 (a-vector), 1 (b-vector), and 2
(c-vector), if None then [2] will be used which is the default
for sheets
- Returns: schrodinger.structure.Structure
- the built cell
|