Skip to main content

add_basis

Method of Lattice.

add_basis(List<real> vector) -> Lattice

Add a site to the atomic basis of the lattice.

Parameters

  • vector: Row vector corresponding to the position of the new basis element.