hexagonal

sisl.geom.hexagonal(bond: float, atoms: sisl.typing.AtomsLike = None, orthogonal: bool = False, vacuum: float = 20.0) Geometry[source]

A hexagonal unit-cell with 1 or 2 atoms in the basic unit cell

The hexagonal unit-cell is the equivalent of an FCC(111) surface, i.e. a close-packed lattice.

Parameters:
  • bond – bond length between atoms (not lattice constant)

  • atoms (Atom, optional) – the atom (or atoms) that the hexagonal lattice consists of.

  • orthogonal – if True returns an orthogonal lattice (2 atoms), otherwise a non-orthogonal lattice (1 atom).

  • vacuum – length of vacuum region (along 3rd lattice vector)