wulfric.cell.FCC#

wulfric.cell.FCC(a: float)[source]#

Constructs primitive face-centred cubic cell as defined in [1].

See Face-centred cubic (FCC) for the definition of primitive and conventional cells.

Parameters:
afloat

Length of the three lattice vectors of the conventional cell.

Returns:
cell(3, 3) numpy.ndarray

Matrix of a primitive cell, rows are interpreted as vectors.

cell = [[a1_x, a1_y, a1_z],
        [a2_x, a2_y, a2_z],
        [a3_x, a3_y, a3_z]]

References

[1]

Setyawan, W. and Curtarolo, S., 2010. High-throughput electronic band structure calculations: Challenges and tools. Computational materials science, 49(2), pp. 299-312.

Examples

>>> import wulfric as wulf
>>> wulf.cell.FCC(a=2)
array([[0., 1., 1.],
       [1., 0., 1.],
       [1., 1., 0.]])