pub struct MagicOutput {
pub lower_bounds_ww: Vec<f64>,
pub groups_per_ve: usize,
pub scale_factors: Vec<f64>,
pub e_upper_bounds: Vec<f64>,
pub ww_tag_name: String,
pub e_upper_bounds_tag_name: String,
}Expand description
Output of the MAGIC algorithm — the data written to mesh tags in legacy workflows.
Fields§
§lower_bounds_ww: Vec<f64>Weight-window lower bounds, row-major over volume elements:
total mode → lower_bounds_ww[ve]; per-group mode →
lower_bounds_ww[ve * groups + g].
groups_per_ve: usizeNumber of bounds per volume element (1 in total mode).
scale_factors: Vec<f64>Per-energy-group normalization scale factors 1 / (2 * max_val[g])
that non-nulled fluxes were multiplied by (length groups_per_ve).
e_upper_bounds: Vec<f64>Content of the {particle}_e_upper_bounds tag: the maximum
energy bound in total mode, e_bounds[1..] otherwise.
ww_tag_name: StringMesh tag name for the lower bounds
(e.g. "ww_n" for neutron tallies).
e_upper_bounds_tag_name: StringMesh tag name for MagicOutput::e_upper_bounds
(e.g. "n_e_upper_bounds").
Trait Implementations§
Source§impl Clone for MagicOutput
impl Clone for MagicOutput
Source§fn clone(&self) -> MagicOutput
fn clone(&self) -> MagicOutput
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 moreSource§impl Debug for MagicOutput
impl Debug for MagicOutput
Source§impl PartialEq for MagicOutput
impl PartialEq for MagicOutput
impl StructuralPartialEq for MagicOutput
Auto Trait Implementations§
impl Freeze for MagicOutput
impl RefUnwindSafe for MagicOutput
impl Send for MagicOutput
impl Sync for MagicOutput
impl Unpin for MagicOutput
impl UnsafeUnpin for MagicOutput
impl UnwindSafe for MagicOutput
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