hcp

sisl.geom.hcp(a, atom, coa=1.63333, orthogonal=False)[source]

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

Parameters:
alat : float

lattice parameter

atom : Atom

the atom in the HCP lattice

orthogonal : bool, optional

whether the lattice is orthogonal (4 atoms)