repeat¶
- repeat(configuration, na=1, nb=1, nc=1, stack_systems=None)¶
Repeat the
BulkConfiguration
orBaseProbeConfiguration
with the integer values na, nb, and nc along the three primitive unit cell vectors.The repeated system is constructed with a cell of the type UnitCell.
- Parameters:
configuration (
BulkConfiguration
|BaseProbeConfiguration
) – The configuration.na (int) – The repetition along the a-axis. Default: 1.
nb (int) – The repetition along the b-axis. Default: 1.
nc (int) – The repetition along the c-axis. Default: 1.
stack_systems (bool) – If True the basis atoms are repeated as a unit, i.e. a0 and b0 are repeated as: a0,b0,a1,b1, … If False the basis atom are repeated individually, i.e. a0 and b0 are repeated as: a0,a1,…, b0,b1,… Default: See the docstring for the configuration’s repeat method.
- Returns:
The repeated bulk system.
- Return type:
BulkConfiguration
|BaseProbeConfiguration