pub struct CoordColumns {
pub block: PositionBlock,
pub masses: Vec<f64>,
pub cells: Vec<f64>,
pub atom_ids: Vec<u64>,
pub fixed: Vec<u8>,
pub species: Vec<Vec<(String, usize)>>,
pub has_section: bool,
pub partial_fixed: bool,
}Expand description
Masses and cell that belong with read_positions_with_threads.
The column walker fills these when it certifies the file. Otherwise they come from the frame parser, which is the same source as before.
Fields§
§block: PositionBlock§masses: Vec<f64>§cells: Vec<f64>§atom_ids: Vec<u64>Column 5, file order, length n_frames * n_atoms when identity was read.
fixed: Vec<u8>Decoded column-4 bitmask, same length as atom_ids when identity was read.
species: Vec<Vec<(String, usize)>>One run-length element list when every frame matches, otherwise one per frame.
Each run is (symbol, count) in file order. An empty list means identity
was not collected.
has_section: bool§partial_fixed: boolTrue when any atom is held on some axes and free on others.
Auto Trait Implementations§
impl Forget for CoordColumns
impl Freeze for CoordColumns
impl Move for CoordColumns
impl RefUnwindSafe for CoordColumns
impl Send for CoordColumns
impl Sync for CoordColumns
impl Unpin for CoordColumns
impl UnsafeUnpin for CoordColumns
impl UnwindSafe for CoordColumns
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