Module sheets

Module sheets 

Source
Expand description

Continuation of the reciprocal integrals to the sheet of the outgoing sum.

treams-rs extension: treams takes the principal branches.

StructsΒ§

Split πŸ”’
The split of an Ewald sum as the sheets of its diffraction orders need it (split_sheet).

EnumsΒ§

Sheet πŸ”’
The sheet of v of one diffraction order (split_sheet).

ConstantsΒ§

SHEET_MARGIN πŸ”’
Angle beyond |arg((k eta)^2)| by which a diffraction order’s k_q^2 must stay off the positive real axis for split_sheet to take the principal argument of v unevaluated: far above the rounding of that angle (1e-2 next to a threshold).

FunctionsΒ§

lower_side πŸ”’
z with a zero imaginary part made -0.0, which puts it on the lower side of a branch cut along the real axis.
self_sheet πŸ”’
The sheet arg v = 2 arg k - pi - arg((k eta)^2) of v = -1 / (2 eta^2) for self_term: -pi continues the outgoing side Im v = -0 of real k and splits, and k takes arg k = pi on the negative real axis for either sign of zero, as the AMOS outgoing waves do.
sheet_turns πŸ”’
The whole turns from the principal argument of value to sheet, which differ by a multiple of 2 pi up to rounding.
split_sheet πŸ”’
The sheet of v = (q^2 - k^2) / (2 k^2 eta^2) of a diffraction order of squared transverse modulus q2 that continues the Ewald sum from the automatic split to split.