pub struct DirectConfig {
pub histories_per_shot: u64,
pub replicas: usize,
pub chunk_size: u64,
pub seed: u64,
pub depth_lo_m: f64,
pub depth_hi_m: f64,
}Expand description
Settings of direct_dose.
Fields§
§histories_per_shot: u64Primaries per shot, summed over the replicas (at least replicas).
replicas: usizeIndependent replicas for the statistical error (at least 2).
chunk_size: u64Histories per tally chunk (see Transport::run_beam).
seed: u64Base seed.
depth_lo_m: f64Lower depth of the film slab, m.
depth_hi_m: f64Upper depth of the film slab (excluded), m.
Trait Implementations§
Source§impl Clone for DirectConfig
impl Clone for DirectConfig
Source§fn clone(&self) -> DirectConfig
fn clone(&self) -> DirectConfig
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 moreimpl Copy for DirectConfig
Source§impl Debug for DirectConfig
impl Debug for DirectConfig
Source§impl PartialEq for DirectConfig
impl PartialEq for DirectConfig
impl StructuralPartialEq for DirectConfig
Auto Trait Implementations§
impl Freeze for DirectConfig
impl RefUnwindSafe for DirectConfig
impl Send for DirectConfig
impl Sync for DirectConfig
impl Unpin for DirectConfig
impl UnsafeUnpin for DirectConfig
impl UnwindSafe for DirectConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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