Enum TallyKind
pub enum TallyKind {
None = 0,
Point = 1,
Ring = 2,
Pinhole = 3,
TransmittedRectangular = 4,
TransmittedCylindrical = 5,
}
Expand description
Types of detector tally
The Tally can be any type of standard F
tally, including detector
tallies.
A tally header contains TALLY <id> <i> <j> <k>
, where j
is the type of
tally.
This type is stored as a TallyKind with enumeration explicitly set to match MCTAL identifiers.
Value | Description of type |
---|---|
0 | None |
1 | Point |
2 | Ring |
3 | Pinhole |
4 | TransmittedRectangular |
5 | TransmittedCylindrical |
Variants§
None = 0
None, generic tally type
Point = 1
Point detector tally
Ring = 2
Ring detector tally
Pinhole = 3
Pinhole radiograph (FIP)
TransmittedRectangular = 4
Transmitted image radiograph (rectangular grid, FIR),
TransmittedCylindrical = 5
Transmitted image radiograph (cylindrical grid, FIC)
Trait Implementations§
impl Copy for TallyKind
impl StructuralPartialEq for TallyKind
Auto Trait Implementations§
impl Freeze for TallyKind
impl RefUnwindSafe for TallyKind
impl Send for TallyKind
impl Sync for TallyKind
impl Unpin for TallyKind
impl UnwindSafe for TallyKind
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