pub struct ParticlePair {
pub mass_a: f64,
pub mass_b: f64,
pub charge_a: f64,
pub charge_b: f64,
pub spin_a: f64,
pub spin_b: f64,
pub q_value: f64,
pub mt: u32,
pub penetrability: bool,
pub shift: bool,
}Expand description
One particle pair of an LRF=7 range.
Fields§
§mass_a: f64Mass of the first particle in neutron masses (MA).
mass_b: f64Mass of the second particle in neutron masses (MB).
charge_a: f64Charge number of the first particle (ZA).
charge_b: f64Charge number of the second particle (ZB).
spin_a: f64Spin of the first particle; a negative sign gives negative parity (IA).
spin_b: f64Spin of the second particle; a negative sign gives negative parity (IB).
q_value: f64Q-value of the pair in eV.
mt: u32ENDF reaction type of the pair (MT).
penetrability: boolWhether the penetrability is calculated (PNT, with PNT=0 resolved by MT).
shift: boolWhether the shift factor is calculated (SHF=1).
Implementations§
Source§impl ParticlePair
impl ParticlePair
Sourcepub fn threshold(&self, incident: &ParticlePair) -> f64
pub fn threshold(&self, incident: &ParticlePair) -> f64
Lab-frame threshold energy in eV, −Q·(A+1)/A, with A = MB/MA of the
incident pair incident; the pair’s channels are open above it.
Trait Implementations§
Source§impl Clone for ParticlePair
impl Clone for ParticlePair
Source§fn clone(&self) -> ParticlePair
fn clone(&self) -> ParticlePair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParticlePair
impl Debug for ParticlePair
Source§impl<'de> Deserialize<'de> for ParticlePair
impl<'de> Deserialize<'de> for ParticlePair
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
Source§impl PartialEq for ParticlePair
impl PartialEq for ParticlePair
Source§impl Serialize for ParticlePair
impl Serialize for ParticlePair
impl StructuralPartialEq for ParticlePair
Auto Trait Implementations§
impl Freeze for ParticlePair
impl RefUnwindSafe for ParticlePair
impl Send for ParticlePair
impl Sync for ParticlePair
impl Unpin for ParticlePair
impl UnsafeUnpin for ParticlePair
impl UnwindSafe for ParticlePair
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