Enum DoseKind
pub enum DoseKind {
Contact,
Point(f64),
}
Expand description
Type of dose rate
FISPACT-II will calculate a dose rate approximation of either a “Contact” or “Point” dose.
- Contact dose uses the semi-infinate plane approximation
- Point dose assumes a 1g, isotropic point source at some distance
Note that the point source distance must be greater than 0.3m.
Variants§
Contact
Semi-infinite slab approximation
Point(f64)
Point source approximation at contained distance (m)
Trait Implementations§
§impl<'de> Deserialize<'de> for DoseKind
impl<'de> Deserialize<'de> for DoseKind
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for DoseKind
Auto Trait Implementations§
impl Freeze for DoseKind
impl RefUnwindSafe for DoseKind
impl Send for DoseKind
impl Sync for DoseKind
impl Unpin for DoseKind
impl UnwindSafe for DoseKind
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