Struct CellData
pub struct CellData {
pub energy: Group,
pub time: Group,
pub i_coord: f64,
pub j_coord: f64,
pub k_coord: f64,
pub cell: u32,
pub material: u32,
pub density: f64,
pub volume: f64,
}Expand description
Additional information for CuV data parsing
CuV contains a lot of additional information. Keeping track of the volume and coordiante information is necessary for the reader, though only two instances are around at any given time.
For completeness and future features, all data are kept though some are not currently used. For example, the cell number will be relevant for sub-voxel resolution when plotting.
Fields§
§energy: GroupEneergy group
time: GroupTime group
i_coord: f64i coordinate at centre of voxel
j_coord: f64j coordinate at centre of voxel
k_coord: f64k coordinate at centre of voxel
cell: u32cell number
material: u32material number
density: f64material density
volume: f64cell volume
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CellData
impl RefUnwindSafe for CellData
impl Send for CellData
impl Sync for CellData
impl Unpin for CellData
impl UnwindSafe for CellData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.