Module polar

Module polar 

Source
Expand description

Spherical translation coefficients of mode pairs in polar coordinates (kr, theta, phi), broadcast over arrays, with analytic pullbacks.

Upstream: treams.sw.translate and treams.special.tl_vsw_A, tl_vsw_B, tl_vsw_rA and tl_vsw_rB.

Structs§

PolarTranslation
Fixed spherical mode-pair couplings shared across displacements and pullbacks.
PolarTranslationResidual
What polar_translation_array saves for its pullback: the arguments and one coupling plan per distinct mode pair.

Constants§

PARALLEL 🔒
Spherical translation arrays evaluate in parallel from this many elements.
PLANS 🔒
Coupling plans, which cost several evaluations each, build in parallel from this many distinct mode pairs.

Functions§

polar_translation_array
Broadcast polar translations, preserving scalar arguments and fixed mode pairs.