hcp

sisl.geom.hcp(a, atoms, coa=1.6333333333333333, orthogonal=False)

Hexagonal closed packed lattice with 2 (non-orthogonal) or 4 atoms (orthogonal)

Parameters
  • a (float) – lattice parameter for 1st and 2nd lattice vectors

  • atoms (Atom) – the atom(s) in the HCP lattice

  • coa (float) – c over a parameter where c is the 3rd lattice vector length

  • orthogonal (bool) – whether the lattice is orthogonal (4 atoms)