pub struct TallySpec {
pub depth_bin_nm: f64,
pub depth_bins: usize,
pub per_ion: bool,
pub lateral_bin_nm: f64,
pub lateral_bins: usize,
pub escape_energy_max_ev: Option<f64>,
pub escape_energy_bins: usize,
pub escape_polar_bins: usize,
pub dual_pearson: bool,
pub voxel: Option<VoxelTallySpec>,
}Expand description
[tally]: what the run records.
Fields§
§depth_bin_nm: f64Depth-bin width of the stopped-primary profile, nm. Default 1.
depth_bins: usizeNumber of depth bins; the last also collects everything deeper. Default 1000.
per_ion: boolWrite the final state of every primary ion. Default true.
lateral_bin_nm: f64Bin width of the lateral (y, z) and radial profiles of stopped
primaries, nm. Default 1.
lateral_bins: usizeLateral bins per side of the beam axis: y and z are binned over
[-lateral_bins * lateral_bin_nm, +lateral_bins * lateral_bin_nm) and
the radial distance over [0, lateral_bins * lateral_bin_nm).
Default 100.
escape_energy_max_ev: Option<f64>Upper edge of the escape-energy spectra, eV. Default (absent): the beam energy.
escape_energy_bins: usizeNumber of escape-energy bins over [0, escape_energy_max_ev).
Default 100.
escape_polar_bins: usizeNumber of escape polar-angle bins over [0, 90) degrees from the
outward surface normal. Default 30.
dual_pearson: boolAlso fit a dual-Pearson profile to the depth histogram. Default
false.
voxel: Option<VoxelTallySpec>Also write the 3D voxel tally with per-element vacancy, interstitial
and replacement maps ([tally.voxel]). Default: not written. Static
ion runs only.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TallySpec
impl<'de> Deserialize<'de> for TallySpec
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>,
impl StructuralPartialEq for TallySpec
Auto Trait Implementations§
impl Freeze for TallySpec
impl RefUnwindSafe for TallySpec
impl Send for TallySpec
impl Sync for TallySpec
impl Unpin for TallySpec
impl UnsafeUnpin for TallySpec
impl UnwindSafe for TallySpec
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