pub struct SammyParFile {
pub resonances: Vec<SammyResonance>,
pub radius_overrides: HashMap<u32, f64>,
pub r_external: HashMap<u32, [f64; 7]>,
pub isotopic_masses: Vec<IsotopicMass>,
}Expand description
Parsed SAMMY .par file.
Fields§
§resonances: Vec<SammyResonance>§radius_overrides: HashMap<u32, f64>Per-spin-group channel radius overrides from “RADIUS PARAMETERS FOLLOW”. Maps 1-based spin group index → effective channel radius in fm. When present, overrides the global scattering radius from the .inp file.
r_external: HashMap<u32, [f64; 7]>Per-spin-group R-external parameters from “R-EXTERNAL PARAMETERS FOLLOW”. Maps 1-based spin group index → 7 R-external parameters [E_low, E_up, R_con, R_lin, s_con, s_lin, R_quad].
SAMMY Ref: mpar03.f90 Readrx, Manual Section II.B.1.d
isotopic_masses: Vec<IsotopicMass>Per-isotope AWR and abundance from “ISOTOPIC MASSES AND ABUNDANCES FOLLOW”. When present, overrides .inp spin group abundances and provides per-isotope AWR values (the .inp only has a global AWR from Card 2).
SAMMY Ref: IsotopicMassesAndAbundances.cpp
Trait Implementations§
Source§impl Clone for SammyParFile
impl Clone for SammyParFile
Source§fn clone(&self) -> SammyParFile
fn clone(&self) -> SammyParFile
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 moreAuto Trait Implementations§
impl Freeze for SammyParFile
impl RefUnwindSafe for SammyParFile
impl Send for SammyParFile
impl Sync for SammyParFile
impl Unpin for SammyParFile
impl UnsafeUnpin for SammyParFile
impl UnwindSafe for SammyParFile
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