treams.lattice.dsumsw2d

treams.lattice.dsumsw2d(l, m, k, kpar, a, r, i) = <ufunc 'dsumsw2d'>

Direct summation of spherical functions on a 2d lattice

Computes

\[D_{lm}(k, \boldsymbol k_\parallel, \Lambda_2, \boldsymbol r) = \sum_{\boldsymbol R \in \Lambda_2} h_l^{(1)}(k |\boldsymbol r + \boldsymbol R|) Y_{lm}(-\boldsymbol r - \boldsymbol R) \mathrm e^{\mathrm i \boldsymbol k_\parallel \boldsymbol R}\]

directly for one expansion value i. Sum i from 0 to a large value to obtain an approximation of the sum value. In a the lattice vectors are given as rows. The lattice is in the x-y-plane.

Parameters:
  • l (integer) – Degree \(l \geq 0\)

  • m (integer) – Order \(|m| \leq l\)

  • k (float or complex) – Wave number

  • kpar (float, (2,)-array) – Tangential wave vector

  • a (float, (2,2)-array) – Lattice vectors

  • r (float, (2,)-array) – In-plane shift vector

  • i (integer) – Expansion value

Returns:

complex