pub struct EnergyBudget {
pub incident: f64,
pub electronic_nonlocal: f64,
pub electronic_local: f64,
pub lattice: f64,
pub surface_barrier: f64,
pub backscattered: f64,
pub sputtered: f64,
pub transmitted: f64,
pub lateral: f64,
pub rest: f64,
}Expand description
Energy bookkeeping for one primary history, eV.
Every eV of the incident energy ends in exactly one field, so
EnergyBudget::residual is zero up to floating-point rounding. A
surface barrier E_s paid by an escaping particle is counted in
surface_barrier, not in the escaped energy (which is the energy outside
the target).
Fields§
§incident: f64Incident kinetic energy of the primary.
electronic_nonlocal: f64Nonlocal electronic loss, all particles.
electronic_local: f64Local electronic loss at collisions, all particles.
lattice: f64Nuclear energy left in the lattice: subthreshold transfers, weak-
collision transfers, and E_b of displaced recoils.
surface_barrier: f64Work done against the planar surface barrier by escaping particles.
backscattered: f64Energy carried out of the front face by the primary.
sputtered: f64Energy carried out of the front face by recoils (sputtered atoms).
transmitted: f64Energy carried out of the back face (primary and recoils).
lateral: f64Energy carried out of a lateral face of a voxel grid (Face::Side;
primary and recoils). Always zero for a stack, and omitted from the
serialised form when zero.
rest: f64Kinetic energy of particles when they stopped (below their cutoff, or recoils not followed).
Implementations§
Source§impl EnergyBudget
impl EnergyBudget
Trait Implementations§
Source§impl Clone for EnergyBudget
impl Clone for EnergyBudget
Source§fn clone(&self) -> EnergyBudget
fn clone(&self) -> EnergyBudget
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for EnergyBudget
Source§impl Debug for EnergyBudget
impl Debug for EnergyBudget
Source§impl Default for EnergyBudget
impl Default for EnergyBudget
Source§fn default() -> EnergyBudget
fn default() -> EnergyBudget
Source§impl<'de> Deserialize<'de> for EnergyBudget
impl<'de> Deserialize<'de> for EnergyBudget
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 EnergyBudget
impl PartialEq for EnergyBudget
Source§impl Serialize for EnergyBudget
impl Serialize for EnergyBudget
impl StructuralPartialEq for EnergyBudget
Auto Trait Implementations§
impl Freeze for EnergyBudget
impl RefUnwindSafe for EnergyBudget
impl Send for EnergyBudget
impl Sync for EnergyBudget
impl Unpin for EnergyBudget
impl UnsafeUnpin for EnergyBudget
impl UnwindSafe for EnergyBudget
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