derivative_scale

Function derivative_scale 

Source
pub(super) fn derivative_scale(slot: usize, dim: usize, k: Complex) -> f64
Expand description

The scale s of the derivative in jet slot slot of a sum with dim lattice dimensions and the wavenumber k, on which it counts |dS| + max(|S|, 1) s: 1 / |k| for the wavenumber and the Bloch vector, |k| for the shift and the lattice vectors.