pub struct SynthesisGrid {
pub e_min_ev: f64,
pub e_max_ev: f64,
pub n_energies: usize,
pub n_tau: usize,
}Expand description
Configuration of the energy / time grids used to synthesize the IC kernel table. The energy grid spans the data range densely enough that interref interpolation error is negligible.
Fields§
§e_min_ev: f64Lowest reference energy (eV), > 0.
e_max_ev: f64Highest reference energy (eV), > e_min_ev.
n_energies: usizeNumber of log-spaced reference energies (≥ 2).
n_tau: usizeNumber of τ-samples spanning the prompt core of each kernel
(≥ MIN_N_TAU = 8). A long storage tail
(β ≪ α with R > 0) grows the per-kernel sample count beyond n_tau;
that count is capped at 8192 (MAX_TAU_SAMPLES), past which the
τ-step widens — never below the resolution floor (prompt core at the
n_tau = 8 density, folds at ≥ 3 triangle samples per side / ≥ 1
sample per burst σ): a combination that cannot be resolved within the
cap is rejected by IkedaCarpenter::new. Active burst/channel folds
add their ±(4σ + FWHM) margin samples on top of the cap.
Implementations§
Source§impl SynthesisGrid
impl SynthesisGrid
Sourcepub fn new(e_min_ev: f64, e_max_ev: f64) -> Self
pub fn new(e_min_ev: f64, e_max_ev: f64) -> Self
A sensible default grid: [e_min, e_max] log-spaced over
DEFAULT_N_ENERGIES points with DEFAULT_N_TAU τ-samples.
Trait Implementations§
Source§impl Clone for SynthesisGrid
impl Clone for SynthesisGrid
Source§fn clone(&self) -> SynthesisGrid
fn clone(&self) -> SynthesisGrid
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for SynthesisGrid
impl RefUnwindSafe for SynthesisGrid
impl Send for SynthesisGrid
impl Sync for SynthesisGrid
impl Unpin for SynthesisGrid
impl UnsafeUnpin for SynthesisGrid
impl UnwindSafe for SynthesisGrid
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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