pub struct CrystalMetadata {Show 13 fields
pub regions: Vec<usize>,
pub lattice_constant_m: f64,
pub lattice_constant_temperature_k: Option<f64>,
pub normal_hkl: [i32; 3],
pub reference_uvw: [i32; 3],
pub tilt_rad: f64,
pub twist_rad: f64,
pub wafer_rotation_rad: f64,
pub p_max_m: f64,
pub q_max_m: f64,
pub search_length_m: f64,
pub thermal: Option<ThermalMetadata>,
pub electronic_constants_unverified: bool,
}Expand description
Run metadata of one crystal of a Bca (Bca::crystal_metadata): what
a result needs to be reproduced from its own header.
Fields§
§regions: Vec<usize>Regions filled by this crystal.
lattice_constant_m: f64Lattice constant a, m (the cube edge of a cubic lattice, the basal
constant of a hexagonal one).
lattice_constant_temperature_k: Option<f64>Temperature of the cited lattice constant, K (not the target
temperature; see Thermal::temperature_k). None when the source
states none (Lattice::temperature_k).
normal_hkl: [i32; 3]Miller indices of the surface normal and the in-plane reference.
reference_uvw: [i32; 3]Indices of the in-plane reference direction.
tilt_rad: f64Tilt, twist and wafer rotation, rad.
twist_rad: f64Twist, rad.
wafer_rotation_rad: f64Wafer rotation, rad.
p_max_m: f64Search parameters in use, m.
q_max_m: f64Simultaneous-collision window, m.
search_length_m: f64Search segment length, m.
thermal: Option<ThermalMetadata>Thermal vibration; None for a static lattice.
electronic_constants_unverified: booltrue when the run takes the local Oen-Robinson loss
(ElectronicLoss::EquipartitionLsOr)
and the constants of that model are not verified against the paper
(OR_CONSTANTS_UNVERIFIED). Channeled ranges computed with the local
loss depend on those constants. false for a nonlocal-only run; a
false value is left out of the serialised form.
Trait Implementations§
Source§impl Clone for CrystalMetadata
impl Clone for CrystalMetadata
Source§fn clone(&self) -> CrystalMetadata
fn clone(&self) -> CrystalMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CrystalMetadata
impl Debug for CrystalMetadata
Source§impl PartialEq for CrystalMetadata
impl PartialEq for CrystalMetadata
Source§impl Serialize for CrystalMetadata
impl Serialize for CrystalMetadata
impl StructuralPartialEq for CrystalMetadata
Auto Trait Implementations§
impl Freeze for CrystalMetadata
impl RefUnwindSafe for CrystalMetadata
impl Send for CrystalMetadata
impl Sync for CrystalMetadata
impl Unpin for CrystalMetadata
impl UnsafeUnpin for CrystalMetadata
impl UnwindSafe for CrystalMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more