pub enum AccuracyPreset {
Fast,
Default,
Precise,
Paper,
}Expand description
Accuracy presets for numerical routines (table sizes, integration steps, etc.).
Variants§
Fast
Prioritize speed (smaller tables / fewer integration steps).
Default
Balanced default settings.
Precise
Higher precision (larger tables / more integration steps).
Paper
Research/paper-grade settings (very large tables / many integration steps).
Implementations§
Source§impl AccuracyPreset
impl AccuracyPreset
Sourcepub fn neutrino_n_points(&self) -> usize
pub fn neutrino_n_points(&self) -> usize
Number of tabulation points for the neutrino background table.
Sourcepub fn neutrino_integ_steps(&self) -> usize
pub fn neutrino_integ_steps(&self) -> usize
Composite Simpson integration step count for neutrino integrals.
Sourcepub fn neutrino_y_max(&self) -> f64
pub fn neutrino_y_max(&self) -> f64
Upper cutoff for the dimensionless momentum integral (y_max).
Trait Implementations§
Source§impl Clone for AccuracyPreset
impl Clone for AccuracyPreset
Source§fn clone(&self) -> AccuracyPreset
fn clone(&self) -> AccuracyPreset
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 AccuracyPreset
impl Debug for AccuracyPreset
Source§impl Default for AccuracyPreset
impl Default for AccuracyPreset
Source§fn default() -> AccuracyPreset
fn default() -> AccuracyPreset
Returns the “default value” for a type. Read more
Source§impl PartialEq for AccuracyPreset
impl PartialEq for AccuracyPreset
impl Copy for AccuracyPreset
impl Eq for AccuracyPreset
impl StructuralPartialEq for AccuracyPreset
Auto Trait Implementations§
impl Freeze for AccuracyPreset
impl RefUnwindSafe for AccuracyPreset
impl Send for AccuracyPreset
impl Sync for AccuracyPreset
impl Unpin for AccuracyPreset
impl UnwindSafe for AccuracyPreset
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