pub struct LayerCoeffs<T: Real> {
pub chi_o: Complex<T>,
pub chi_e: Complex<T>,
pub thickness: T,
pub sigma: T,
}Expand description
Per-slab coefficients consumed by the uniaxial kernel.
This is the device-uploadable layer record: only the ordinary and
extraordinary Berreman components of a uniaxial-z slab enter the
closed-form eigenstructure, so the full 3x3 tensor is not carried.
Components are stored as susceptibilities chi = eps - 1 rather than
eps because soft X-ray |chi| is O(1e-3): packing 1 + chi into a
single-precision word would discard roughly three significant digits of
the optical constants before any arithmetic happens.
Fields§
§chi_o: Complex<T>Ordinary susceptibility eps_xx - 1 = eps_yy - 1 (dimensionless).
chi_e: Complex<T>Extraordinary susceptibility eps_zz - 1 (dimensionless).
thickness: TSlab thickness in Angstroms. Ignored for the fronting and backing rows.
sigma: TNevot-Croce roughness of the interface above this slab, in Angstroms.
Trait Implementations§
Source§impl<T: Clone + Real> Clone for LayerCoeffs<T>
impl<T: Clone + Real> Clone for LayerCoeffs<T>
Source§fn clone(&self) -> LayerCoeffs<T>
fn clone(&self) -> LayerCoeffs<T>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl<T: Copy + Real> Copy for LayerCoeffs<T>
impl<T: PartialEq + Real> StructuralPartialEq for LayerCoeffs<T>
Auto Trait Implementations§
impl<T> Freeze for LayerCoeffs<T>where
T: Freeze,
impl<T> RefUnwindSafe for LayerCoeffs<T>where
T: RefUnwindSafe,
impl<T> Send for LayerCoeffs<T>
impl<T> Sync for LayerCoeffs<T>
impl<T> Unpin for LayerCoeffs<T>where
T: Unpin,
impl<T> UnsafeUnpin for LayerCoeffs<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for LayerCoeffs<T>where
T: UnwindSafe,
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,
impl<T> Scalar 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.