xnn.ffnn.models.gfnfflib.translation_list#
- xnn.ffnn.models.gfnfflib.translation_list(cell, r2, cap=False)[source]#
Lattice shifts of a translation list with radius
sqrt(r2)(Bohr) for a cell (rows, Angstrom): shifts in the box|n_i| <= ceil(R / h_i)(h_ithe cell heights), ordered by shells = max |n_i|and within a shell with the third index outermost and the first innermost; shells of two and more keep|T| (s - 1) / s < R. Withcapthe shells stop atceil(R / a),athe shortest lattice vector.