radtools.FCC#
- radtools.FCC(a: float, return_cell=False)[source]#
Construct face-centred cubic primitive lattice.
See Face-centred cubic (FCC) for the definition of primitive and conventional cells.
- Parameters:
- afloat
Length of the all three lattice vectors of the conventional cell.
- return_cellbool, default False
Whether to return the cell instead of the
Lattice
object.
- Returns:
- lattice
Lattice
or (3, 3) numpy.ndarray Face-centred cubic lattice or cell.
- lattice