pub struct ElectronTallyConfig {
pub cartesian: Option<CartesianGrid>,
pub cylindrical: Option<CylindricalGrid>,
pub escape_energy: Binning,
pub escape_polar: Binning,
pub se_bse_split_ev: f64,
pub psf: Option<PsfConfig>,
pub dose: Option<DoseConfig>,
pub exposure: Option<ExposureConfig>,
}Expand description
Settings of a FullElectronTally.
Fields§
§cartesian: Option<CartesianGrid>Optional Cartesian deposition grid.
cylindrical: Option<CylindricalGrid>Optional cylindrical r-x deposition grid.
escape_energy: BinningEnergy of escaping electrons, eV.
escape_polar: BinningPolar angle of escaping electrons from the outward surface normal, rad
(0 along the normal, π/2 grazing). Must lie within [0, π].
se_bse_split_ev: f64SE/BSE split, eV: escaping electrons below it are slow (secondary), at or above it fast (backscattered). See the module docs.
psf: Option<PsfConfig>Optional radial profile in a depth slab, log radial bins, with
per-history errors: the input of the PSF fits of super::psf.
dose: Option<DoseConfig>Optional dose per layer, depth-dose profile and interface
transmission (super::dose).
exposure: Option<ExposureConfig>Optional exposure statistics: the per-electron deposit in target
volumes and the compound-Poisson distribution of a finite exposure
(super::exposure).
Implementations§
Source§impl ElectronTallyConfig
impl ElectronTallyConfig
Sourcepub fn new(escape_energy: Binning, escape_polar: Binning) -> Self
pub fn new(escape_energy: Binning, escape_polar: Binning) -> Self
Spectra with the given binnings, no deposition grids, no PSF profile,
and the SE_BSE_SPLIT_EV split.
Trait Implementations§
Source§impl Clone for ElectronTallyConfig
impl Clone for ElectronTallyConfig
Source§fn clone(&self) -> ElectronTallyConfig
fn clone(&self) -> ElectronTallyConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ElectronTallyConfig
impl Debug for ElectronTallyConfig
Source§impl<'de> Deserialize<'de> for ElectronTallyConfig
impl<'de> Deserialize<'de> for ElectronTallyConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ElectronTallyConfig
impl PartialEq for ElectronTallyConfig
Source§impl Serialize for ElectronTallyConfig
impl Serialize for ElectronTallyConfig
impl StructuralPartialEq for ElectronTallyConfig
Auto Trait Implementations§
impl Freeze for ElectronTallyConfig
impl RefUnwindSafe for ElectronTallyConfig
impl Send for ElectronTallyConfig
impl Sync for ElectronTallyConfig
impl Unpin for ElectronTallyConfig
impl UnsafeUnpin for ElectronTallyConfig
impl UnwindSafe for ElectronTallyConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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