pub struct CascadeDefects {
pub displacements: u64,
pub replacements: u64,
pub vacancies: u64,
pub interstitials: u64,
}Expand description
Defects counted event by event in the simulated cascades.
displacements: target atoms given more thanE_d(recoils created).replacements: a moving atom came to rest, immediately after the collision in which it displaced an atom of its own element, at that atom’s site, so it fills the site. In this engine a particle stops when its energy falls below its cutoff, so this count depends on the cutoffs (a recoil cutoff nearE_dgives the most replacements). When a recoil is not followed (below its cutoff, or withBcaConfig::follow_recoils= false), the engine reportsstopped(&r)straight afterrecoil(&r), which clears the pending site, so the displacer cannot score a replacement in that collision. Withfollow_recoils = falsethe replacement count is therefore always 0.vacancies = displacements - replacements.interstitials: recoils that came to rest in the target and did not fill a site. Implanted beam particles are not counted here (see the range tally). Recoils that leave the target create a vacancy and no interstitial, so the two counts differ.
Fields§
§displacements: u64Atoms displaced.
replacements: u64Replacement events.
vacancies: u64Vacancies left.
interstitials: u64Interstitials left.
Trait Implementations§
Source§impl Clone for CascadeDefects
impl Clone for CascadeDefects
Source§fn clone(&self) -> CascadeDefects
fn clone(&self) -> CascadeDefects
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CascadeDefects
Source§impl Debug for CascadeDefects
impl Debug for CascadeDefects
Source§impl Default for CascadeDefects
impl Default for CascadeDefects
Source§fn default() -> CascadeDefects
fn default() -> CascadeDefects
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CascadeDefects
impl<'de> Deserialize<'de> for CascadeDefects
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CascadeDefects
Source§impl PartialEq for CascadeDefects
impl PartialEq for CascadeDefects
Source§impl Serialize for CascadeDefects
impl Serialize for CascadeDefects
impl StructuralPartialEq for CascadeDefects
Auto Trait Implementations§
impl Freeze for CascadeDefects
impl RefUnwindSafe for CascadeDefects
impl Send for CascadeDefects
impl Sync for CascadeDefects
impl Unpin for CascadeDefects
impl UnsafeUnpin for CascadeDefects
impl UnwindSafe for CascadeDefects
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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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