Module field

Module field 

Source
Expand description

Plane-wave translation phases and fields, with analytic pullbacks.

Upstream: treams.pw.translate and treams.special.vpw_M, vpw_N and vpw_A.

Structs§

FieldGradient
Cotangents in the real Hermitian pairing.
FieldResidual
What field saves for its pullback: its inputs, for weighted fields or for the matrix that samples every mode.
ModeSums 🔒
Sums over points of one plane mode’s amplitude, wavevector and polarization cotangents; the last two stay zero when the wavevectors are fixed.
ModeTerms 🔒
What the field pullback needs of one plane mode at every point.
PhasesGradient
Cotangents of real displacements and complex full wavevectors.
PhasesResidual
What phases saves for its pullback: the points and the wavevectors, without the phases of every point and mode.

Functions§

field
Evaluate weighted plane fields, or the full operator when coefficients are absent.
phase 🔒
exp(i k·r) for a complex wavevector k and a real point r, from the real and imaginary parts of k·r separately.
phases
Plane-wave translation phases with shape (displacements, wavevectors).
translate
Direct scalar plane translation phase.