honeycomb

sisl.geom.honeycomb(bond, atom, orthogonal=False)[source]

Honeycomb lattice with 2 or 4 atoms per unit-cell, latter orthogonal cell

This enables creating BN lattices with ease, or graphene lattices.

Parameters:
bond : float

bond length between atoms (not lattice constant)

atom : Atom

the atom (or atoms) that the honeycomb lattice consists of

orthogonal : bool, optional

if True returns an orthogonal lattice

See also

graphene
the equivalent of this, but with default of Carbon atoms