pub struct EmitOptions {
pub name: String,
pub mcnp_number: u32,
pub xs_suffix: String,
pub density: Option<f64>,
pub serpent_lib: String,
pub fluka_fid: u32,
pub partisn_zone: u32,
}Expand description
Shared emission settings.
Fields§
§name: StringMaterial/card name used by every dialect.
mcnp_number: u32MCNP m<number> card number.
xs_suffix: StringMCNP cross-section library suffix (80c renders 92235.80c).
density: Option<f64>Mass density [g/cm³] for dialects that need one (Serpent, FLUKA,
PARTISN). Falls back to Material::density; errors when absent.
serpent_lib: StringSerpent cross-section library suffix (03c renders 92235.03c).
fluka_fid: u32FLUKA material index number.
partisn_zone: u32PARTISN zone id for the single emitted zone.
Implementations§
Source§impl EmitOptions
impl EmitOptions
Trait Implementations§
Source§impl Clone for EmitOptions
impl Clone for EmitOptions
Source§fn clone(&self) -> EmitOptions
fn clone(&self) -> EmitOptions
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 moreAuto Trait Implementations§
impl Freeze for EmitOptions
impl RefUnwindSafe for EmitOptions
impl Send for EmitOptions
impl Sync for EmitOptions
impl Unpin for EmitOptions
impl UnsafeUnpin for EmitOptions
impl UnwindSafe for EmitOptions
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