Enum BinFlag
pub enum BinFlag {
UpperBound,
Discrete,
}
Expand description
User flag for interpretation (i.e. Upper bounds
, Discrete points
)
While MCNP does not print this, flags are allowed in user generated mctal files.
- When the flag is
0
ornone
, values are upper bin boundaries - Otherwise, values are points where the tally values should be plotted
For example:
Flag example | Description |
---|---|
c 10 | 10 cosine bins, no flag, assumed upper bounds |
c 10 0 | 10 cosine bins, upper bounds |
c 10 1 | 10 cosine bins, discrete points |
Variants§
Trait Implementations§
impl Copy for BinFlag
impl StructuralPartialEq for BinFlag
Auto Trait Implementations§
impl Freeze for BinFlag
impl RefUnwindSafe for BinFlag
impl Send for BinFlag
impl Sync for BinFlag
impl Unpin for BinFlag
impl UnwindSafe for BinFlag
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