Expand description
The lattice and Bloch vector of a sum, and the automatic Ewald split.
Upstream: _check_eta of lattice/_esum.pyx for the automatic split. The reduced
bases are a treams-rs extension.
Structsยง
- Bloch
Lattice - Row lattice vectors, a real Bloch vector
kparand their reduced bases in one, two or three dimensions. - Reduction ๐
- A reduced basis
U rowsof latticerowsfromgeometry::reduce_basis: the integer rows ofUand of its inverse transposeW, stored exactly asf64. Ewald shells of a skewed basis are far from Euclidean shells and can stop before short vectors with large indices; shells of the reduced basis cannot.
Functionsยง
- resolve_
split ๐ - The Ewald split:
eta, or for zero an automatic choice fromkLwith the cell lengthL = measure^(1/dim). The exact sum is independent of the split, so it is held fixed during differentiation instead of differentiating the heuristic.