hcp

sisl.geom.hcp(a: float, atoms: sisl.typing.AtomsLike, coa: float = 1.6333333333333333, orthogonal: bool = False) float

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)

Return type:

float