pub enum Family {
HarmonicX,
HarmonicY,
HarmonicZ,
Spherical(Radial),
Cylindrical(Radial),
Plane,
}Expand description
The kind of vector wave vector_wave evaluates.
Polarization 0/1 selects M/N (upstream *_M/*_N), or negative/positive helicity
(upstream *_A) when helicity is true. Harmonics ignore the polarization.
Upstream: treams.special.vsh_*, vsw_*, vcw_* and vpw_*; each variant names
its functions.
Variants§
HarmonicX
Tangential X harmonic in spherical components (upstream vsh_X).
HarmonicY
Tangential Y harmonic in spherical components (upstream vsh_Y).
HarmonicZ
Radial Z harmonic, equal to i times the scalar spherical harmonic (upstream
vsh_Z).
Spherical(Radial)
Spherical vector wave at (kr, theta, phi): upstream vsw_rM, vsw_rN and
vsw_rA when regular, vsw_M, vsw_N and vsw_A when singular.
Cylindrical(Radial)
Cylindrical vector wave at (kz, k_rho*rho, phi, z, k): upstream vcw_rM,
vcw_rN and vcw_rA when regular, vcw_M, vcw_N and vcw_A when singular.
Plane
Plane vector wave at (kx, ky, kz, x, y, z): upstream vpw_M, vpw_N and
vpw_A.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Family
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnwindSafe for Family
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.